diff options
author | Kenneth Graunke <[email protected]> | 2011-06-19 01:47:50 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-08-23 11:18:25 -0700 |
commit | ecf8963754489abfb5097c130a9bcd4cdb76b6bd (patch) | |
tree | b0325c95734aa4b633ba68a99bb53a5bfecceb16 /src/mesa/drivers/dri/i965/brw_defines.h | |
parent | b6bdcf2a908889532ef6d5eb643791176dffcb9d (diff) |
i965/fs: Implement textureSize (TXS) on Gen5+.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_defines.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index b740d87c933..69e0026ee6b 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -634,6 +634,7 @@ enum opcode { FS_OPCODE_TXB, FS_OPCODE_TXD, FS_OPCODE_TXL, + FS_OPCODE_TXS, FS_OPCODE_DISCARD, FS_OPCODE_SPILL, FS_OPCODE_UNSPILL, @@ -781,6 +782,7 @@ enum opcode { #define GEN5_SAMPLER_MESSAGE_SAMPLE_DERIVS 4 #define GEN5_SAMPLER_MESSAGE_SAMPLE_BIAS_COMPARE 5 #define GEN5_SAMPLER_MESSAGE_SAMPLE_LOD_COMPARE 6 +#define GEN5_SAMPLER_MESSAGE_SAMPLE_RESINFO 10 /* for GEN5 only */ #define BRW_SAMPLER_SIMD_MODE_SIMD4X2 0 |