diff options
author | Brian Paul <[email protected]> | 2009-04-17 16:01:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-17 16:10:26 -0600 |
commit | 0bc214a834bbb12b9338837dd9fca9bc389b4bc2 (patch) | |
tree | dae0e75640161a523fd45fc772599a5f8ecac6b1 /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | 905130852ac481cb286b0215d8c61e9eb6845520 (diff) |
i915: fix broken indirect constant buffer reads
The READ message's msg_control value can be 0 or 1 to indicate that the
Oword should be read into the lower or upper half of the target register.
It seems that the other half of the register gets clobbered though. So
we read into two dest registers then use a MOV to combine the upper/lower
halves.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 896e67dbfe9..62c98bd8bb3 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -867,6 +867,7 @@ void brw_dp_READ_4( struct brw_compile *p, void brw_dp_READ_4_vs( struct brw_compile *p, struct brw_reg dest, + GLuint oword, GLboolean relAddr, struct brw_reg addrReg, GLuint location, |