summaryrefslogtreecommitdiffstats
path: root/bin/.gitignore
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-12-13 23:47:05 -0800
committerKenneth Graunke <[email protected]>2016-12-14 21:15:39 -0800
commit84e19322d3a24f7d90bdea09298f1ad55c5e0f04 (patch)
treea49610bcf4a6f80b8ade22b9a99ba01ef4c32cad /bin/.gitignore
parentfd3120d85c295eeeb3b6c9a60372506ae48f5fdb (diff)
i965/vec4: Fix TCS output reads with non-zero component qualifiers.
We want to perform the URB read to a vec4 temporary, with no writemask, then issue a MOV to swizzle the data and store it to the actual destination, using the final writemask. We were doing this wrong. For example, let's say we wanted to read a vec2 stored in components 2-3 of a vec4. We would generate a URB read message of: SEND <actual destination>.XY <header with mask set to XY> MOV <actual destination>.XY <actual destination>.ZW This doesn't work, because the URB message reads the .XY components of the vec4, rather than the ZW. It writes to the right place, but with the wrong data. Then the MOV comes along and overwrites it with data that didn't even come from the URB at all. Instead we want to do: SEND <temporary> <header with mask set to ZW> MOV <actual destination>.XY <temporary>.ZW Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'bin/.gitignore')
0 files changed, 0 insertions, 0 deletions