diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-05 18:23:36 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-04-06 18:08:56 -0700 |
commit | c62db279b6bc4e820345f468c00d4fd65be8556b (patch) | |
tree | 1120e28b6e0a7edb81c4bd17dd5b499d7664793b /src/mesa/drivers/dri/i965/brw_state.h | |
parent | e61cc87c757f8bc0b6a3af318a512b22c072595c (diff) | |
download | external_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.h | 1 |
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); |