summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-16 11:39:01 +0100
committerMarek Olšák <[email protected]>2017-02-18 01:22:08 +0100
commit22b8a773e1edb6d1a39b2ab9f715be1138976a2b (patch)
tree823b654e75ac94b55137c4299b81117b3bf229b5 /src/gallium/drivers/radeonsi/si_shader.h
parent054f853035bc3f4c3ff2b0732779fb21775893ef (diff)
radeonsi: use SI_MAX_ATTRIBS where it should be used
for consistency; no change in behavior Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index b7cf7ea7dbd..0bb0f18f41a 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -341,7 +341,7 @@ struct si_shader_selector {
/* Common VS bits between the shader key and the prolog key. */
struct si_vs_prolog_bits {
- unsigned instance_divisors[SI_NUM_VERTEX_BUFFERS];
+ unsigned instance_divisors[SI_MAX_ATTRIBS];
};
/* Common VS bits between the shader key and the epilog key. */