i965: Upload Shader Storage Buffer Object surfaces
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 23 Mar 2015 12:48:43 +0000 (13:48 +0100)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:20 +0000 (08:39 +0200)
commit37da6a2acd549d145b1691bb1f6bab87b65c92a6
tree043c7281a04f69ab052d4e03826d00f5560d2b72
parentbdbabc57e302b73e2db30f6d46918afb2b442c7b
i965: Upload Shader Storage Buffer Object surfaces

Since these are a special kind of UBOs we emit them together reusing the
same infrastructure, however, we use a RAW surface so we can reuse
existing untyped read/write/atomic messages which include a pixel mask
header that we need to set to obtain correct behavior with helper
invocations of the fragment shader.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c