diff options
author | Gary Wong <gtw@gnu.org> | 2008-11-05 20:35:19 -0500 |
---|---|---|
committer | Gary Wong <gtw@gnu.org> | 2008-11-05 20:38:05 -0500 |
commit | 0060d4154999777bd3b17013c457ca073aa660dc (patch) | |
tree | 963ccd58cc67f3c0e98a6a1d7c822bea9df28aa2 /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | 1bfdab781b515f8eefc0b3c963295a1adb8f8146 (diff) |
i965: Implement missing OPCODE_NOISE3 instruction in fragment shaders.
OPCODE_NOISE4 coming later.
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 8cbe4215fb..49b422ee2f 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -432,6 +432,12 @@ static INLINE struct brw_reg brw_uw8_grf( GLuint nr, return brw_uw8_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr); } +static INLINE struct brw_reg brw_uw16_grf( GLuint nr, + GLuint subnr ) +{ + return brw_uw16_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr); +} + static INLINE struct brw_reg brw_null_reg( void ) { return brw_vec8_reg(BRW_ARCHITECTURE_REGISTER_FILE, |