summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_state.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-04-05 18:23:36 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-04-06 18:08:56 -0700
commitc62db279b6bc4e820345f468c00d4fd65be8556b (patch)
tree1120e28b6e0a7edb81c4bd17dd5b499d7664793b /src/mesa/drivers/dri/i965/brw_state.h
parente61cc87c757f8bc0b6a3af318a512b22c072595c (diff)
downloadexternal_mesa3d-c62db279b6bc4e820345f468c00d4fd65be8556b.zip
external_mesa3d-c62db279b6bc4e820345f468c00d4fd65be8556b.tar.gz
external_mesa3d-c62db279b6bc4e820345f468c00d4fd65be8556b.tar.bz2
i965/sf_state: Pull flat_enables out of prog_data
Previously, we were walking over the shader source to figure out which inputs should be marked flat. Now, we can just pull it out of prog_data. This is needed for properly setting up 3DSTATE_SF/SBE for Vulkan and it also means that it will get properly cached. Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h
index 783af78..2dc0a0d 100644
--- a/src/mesa/drivers/dri/i965/brw_state.h
+++ b/src/mesa/drivers/dri/i965/brw_state.h
@@ -368,7 +368,6 @@ void
calculate_attr_overrides(const struct brw_context *brw,
uint16_t *attr_overrides,
uint32_t *point_sprite_enables,
- uint32_t *flat_enables,
uint32_t *urb_entry_read_length,
uint32_t *urb_entry_read_offset);