summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_cmd.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-23 18:45:04 +0000
committerBrian Paul <[email protected]>2011-09-23 07:58:44 -0600
commitfd69fc87444af8ead30b4af64598a98df7969397 (patch)
tree0458afbb167bcf780613e6da134fc5ecdb341117 /src/gallium/drivers/svga/svga_cmd.h
parent157309348e3d9cc5c6bb81e68f13500e702d3a1e (diff)
svga: Coalesce multiple shader constants in a single command.
HWv8 feature. Tested with GoogleEarth, Mesa demos.
Diffstat (limited to 'src/gallium/drivers/svga/svga_cmd.h')
-rw-r--r--src/gallium/drivers/svga/svga_cmd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h
index 223ab17df81..9bbe95f18b8 100644
--- a/src/gallium/drivers/svga/svga_cmd.h
+++ b/src/gallium/drivers/svga/svga_cmd.h
@@ -211,6 +211,14 @@ SVGA3D_SetShaderConst(struct svga_winsys_context *swc,
SVGA3dShaderConstType ctype, const void *value);
enum pipe_error
+SVGA3D_SetShaderConsts(struct svga_winsys_context *swc,
+ uint32 reg,
+ uint32 numRegs,
+ SVGA3dShaderType type,
+ SVGA3dShaderConstType ctype,
+ const void *values);
+
+enum pipe_error
SVGA3D_SetShader(struct svga_winsys_context *swc,
SVGA3dShaderType type, uint32 shid);