i915g: Make the 1D workaround keep TXP's .w channel in the right spot.
Fixes: 390a3fcdc4
("nir_to_tgsi: Add support for TXP.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12367>
This commit is contained in:
parent
4d9acfa533
commit
5a088aead5
|
@ -697,7 +697,6 @@ spec@glsl-1.10@execution@loops@glsl-fs-unroll-side-effect,Fail
|
|||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-01,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-03,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-04,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-07,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-08,Fail
|
||||
spec@glsl-1.10@execution@samplers@glsl-fs-shadow1d-bias,Fail
|
||||
|
|
|
@ -192,7 +192,7 @@ i915_emit_texld(struct i915_fp_compile *p, uint32_t dest, uint32_t destmask,
|
|||
* program, texturing returns undefined results (even if the Y wrap is
|
||||
* REPEAT).
|
||||
*/
|
||||
coord = swizzle(coord, X, X, Y, Z);
|
||||
coord = swizzle(coord, X, X, Z, W);
|
||||
FALLTHROUGH;
|
||||
case 2:
|
||||
ignore |= (0xf << UREG_CHANNEL_Z_SHIFT);
|
||||
|
|
Loading…
Reference in New Issue