aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs_state.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-14 19:49:33 -0700
committerKenneth Graunke <[email protected]>2013-08-19 13:17:00 -0700
commit6d89bc803d83d27d8946afdd2f749334a41a9d1f (patch)
tree93dad29b8c80b67b6207195fee4d74ce4424108f /src/mesa/drivers/dri/i965/brw_gs_state.c
parent7c717690b5594c768a18cc2a00364e5ec7bc20ab (diff)
i965/fs: Track the binding table size in brw_wm_prog_data.
By tracking the maximum surface index used by the shader, we know just how small we can make the binding table. Since it depends entirely on the shader program, we can just compute it once at compile time, rather than at binding table emit time (which happens during drawing). v2: Store binding_table_size, rather than max_surface_index, for consistency with the VS (which needs to be able to represent 0 surfaces). Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs_state.c')
0 files changed, 0 insertions, 0 deletions