summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-12-06 02:43:07 -0800
committerKenneth Graunke <[email protected]>2016-12-06 22:14:58 -0800
commit09ffc5c84f8067e3b8d0ee89a1771e0a38595036 (patch)
tree5cfaf6cb765a2b92e8d06c3999db3a4fdfd21aab /src/mesa
parentb87039499b07b23f964123e99c5447c1308eb873 (diff)
i965: Initialize "separate" flag in VUE maps.
This was uninitialized, which resulted in weird looking printouts where it appeared that the TCS output and TES input patch URB entries differed in SSO/non-SSO layout. There is no "separable" layout for both, as they're tied together. It should have no other actual effect. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vue_map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vue_map.c b/src/mesa/drivers/dri/i965/brw_vue_map.c
index 4d509d39014..982a31f9034 100644
--- a/src/mesa/drivers/dri/i965/brw_vue_map.c
+++ b/src/mesa/drivers/dri/i965/brw_vue_map.c
@@ -205,6 +205,9 @@ brw_compute_tess_vue_map(struct brw_vue_map *vue_map,
/* I don't think anything actually uses this... */
vue_map->slots_valid = vertex_slots;
+ /* separate isn't really meaningful, but make sure it's initialized */
+ vue_map->separate = false;
+
vertex_slots &= ~(VARYING_BIT_TESS_LEVEL_OUTER |
VARYING_BIT_TESS_LEVEL_INNER);