diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-21 18:29:06 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-21 20:17:24 -0700 |
commit | 96b11f1e3ee12f06be1d33bf085bf1353f23e667 (patch) | |
tree | 164971c3ee34fa3c0829f616a37a861872ed2234 /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | 9e9e87a9b20c581315ff679dc2541d9e442a6301 (diff) |
i965: Support relative addressed VS constant reads using the appropriate msg.
The previous support was overly complicated by trying to use the same
1-OWORD message for both offsets.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 3a0100024c..a2acf8c967 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -897,6 +897,12 @@ void brw_dp_READ_4_vs( struct brw_compile *p, GLuint location, GLuint bind_table_index ); +void brw_dp_READ_4_vs_relative(struct brw_compile *p, + struct brw_reg dest, + struct brw_reg addrReg, + GLuint offset, + GLuint bind_table_index); + void brw_dp_WRITE_16( struct brw_compile *p, struct brw_reg src, GLuint scratch_offset ); |