diff options
author | Kenneth Graunke <[email protected]> | 2013-09-09 11:11:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-09-09 11:26:53 -0700 |
commit | 6c3db2167c64ecf2366862f15f8e2d4a91f1028c (patch) | |
tree | 703175e988392b7e7f7c1308f40215045a6426b3 /src/glsl/opt_dead_code_local.cpp | |
parent | 2924b5f73bd9468e59da9bf53e88c314669a729f (diff) |
i965/vec4: Only zero out unused message components when there are any.
Otherwise, coordinates with four components would result in a MOV
with a destination writemask that has no channels enabled:
mov(8) g115<1>.F 0D { align16 WE_normal NoDDChk 1Q };
At best, this is stupid: we emit code that shouldn't do anything.
Worse, it apparently causes GPU hangs (observable with Chris's
textureGather test on CubeArrays.)
Signed-off-by: Kenneth Graunke <[email protected]>
Cc: Chris Forbes <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/glsl/opt_dead_code_local.cpp')
0 files changed, 0 insertions, 0 deletions