aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r700_shaderinst.h
diff options
context:
space:
mode:
authorRichard Li <[email protected]>2009-12-14 18:02:05 -0500
committerRichard Li <[email protected]>2009-12-14 18:08:40 -0500
commit18ebcfe39360dc0ef1e175fe6c39cbb857432ab4 (patch)
tree7b7275f62605010da9a61a82a20acbf3b888fbde /src/mesa/drivers/dri/r600/r700_shaderinst.h
parent3ff688ea299581e60caf5d6e1a464f68c717fe83 (diff)
r600 : add texture support for vertex shader.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_shaderinst.h')
-rw-r--r--src/mesa/drivers/dri/r600/r700_shaderinst.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_shaderinst.h b/src/mesa/drivers/dri/r600/r700_shaderinst.h
index 2829cca0a3c..cdb9a570f7c 100644
--- a/src/mesa/drivers/dri/r600/r700_shaderinst.h
+++ b/src/mesa/drivers/dri/r600/r700_shaderinst.h
@@ -42,6 +42,13 @@
#define SQ_FETCH_RESOURCE_VS_OFFSET 0x000000a0
#define SQ_FETCH_RESOURCE_VS_COUNT 0x000000b0
+//richard dec.10 glsl
+#define SQ_TEX_SAMPLER_PS_OFFSET 0x00000000
+#define SQ_TEX_SAMPLER_PS_COUNT 0x00000012
+#define SQ_TEX_SAMPLER_VS_OFFSET 0x00000012
+#define SQ_TEX_SAMPLER_VS_COUNT 0x00000012
+//-------------------
+
#define SHADERINST_TYPEMASK_CF 0x10
#define SHADERINST_TYPEMASK_ALU 0x20
#define SHADERINST_TYPEMASK_TEX 0x40