i965: Split brw_upload_texture_surfaces into compute/render atoms.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Feb 2016 00:08:18 +0000 (16:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 12 Feb 2016 03:15:08 +0000 (19:15 -0800)
commitf275c61c30cbd389f9dac5223cc3904b3fe11e3e
tree4e3ebfaa49ac91176fdf01057daf9247d8f43c7e
parentf3943614ff3b70e860b08b1d78f843a6aec3dcdd
i965: Split brw_upload_texture_surfaces into compute/render atoms.

When uploading state for the compute pipeline, we don't want to
look at VS/TCS/TES/GS/FS programs, as they might be stale, and
aren't relevant anyway.  Likewise, the render pipeline shouldn't
look at CS.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93790
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c