summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs_surface_state.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-09-13 15:27:04 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-09-19 10:52:57 -0700
commit113a75ff2d5013583bc41f5bd71e24d7897cd459 (patch)
tree02dea7a7bbbfedb9bc4eebe5f585768eb992f33a /src/mesa/drivers/dri/i965/brw_gs_surface_state.c
parent72340839cae5db8630256f48868d8ce4a526a687 (diff)
downloadexternal_mesa3d-113a75ff2d5013583bc41f5bd71e24d7897cd459.zip
external_mesa3d-113a75ff2d5013583bc41f5bd71e24d7897cd459.tar.gz
external_mesa3d-113a75ff2d5013583bc41f5bd71e24d7897cd459.tar.bz2
i965: Use brw_upload_binding_table() for the pixel shader as well.
This is not quite the same: brw_upload_binding_table() also has code to early-return if there are no entries, while the existing code did not. The PS binding table is unlikely to be empty since it will have at least one color buffer. If it ever is empty, early returning seems wise. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs_surface_state.c')
0 files changed, 0 insertions, 0 deletions