diff options
author | Kenneth Graunke <[email protected]> | 2014-12-10 00:52:50 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-12-12 23:21:27 -0800 |
commit | 23caba862a001f82ef352307a79bebf7ef910959 (patch) | |
tree | 0b3da309c34afc9677890cb7ae19d06190ee149f /src/gallium/drivers/freedreno/freedreno_resource.h | |
parent | a3218e65d1e52469421226a17f2ba91a6b3e4bb8 (diff) |
i965/vec4: Drop writemasks on scratch reads.
This code is complete nonsense and has apparently existed since I first
implemented register spilling in the VS two years ago.
Scratch reads are SEND messages, which ignore the destination writemask.
The comment about "data that may not have been written to scratch" is
also confusing - we always spill whole 4x2 registers, so such data
simply does not exist. We can safely ignore the writemask.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.h')
0 files changed, 0 insertions, 0 deletions