summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-10-04 10:51:20 +0800
committerChia-I Wu <[email protected]>2014-10-04 23:18:51 +0800
commitca824e69403a32144328d1fb7987d0537e88ee04 (patch)
treeda6d1abfffb4339837f3d8cb1111405100cbe175 /src/gallium/drivers/ilo/ilo_shader.h
parent0c4bc1e29223ffec4617999c0c03d722bdcc170a (diff)
ilo: let shaders determine sampler counts
When a shader needs N samplers, we should upload N samplers and not depend on how many are bound. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h
index 80e9c19a990..77deee95ef0 100644
--- a/src/gallium/drivers/ilo/ilo_shader.h
+++ b/src/gallium/drivers/ilo/ilo_shader.h
@@ -33,6 +33,7 @@
enum ilo_kernel_param {
ILO_KERNEL_INPUT_COUNT,
ILO_KERNEL_OUTPUT_COUNT,
+ ILO_KERNEL_SAMPLER_COUNT,
ILO_KERNEL_URB_DATA_START_REG,
ILO_KERNEL_SKIP_CBUF0_UPLOAD,
ILO_KERNEL_PCB_CBUF0_SIZE,