Hi everybody, here's an updated version of the series.
I decided to keep BUFFER_SAMPLER_VIEW_RGBA_ONLY as is, following Fredrik's point that it affects not only the sampler swizzle but also the texture format itself. The major functionality changes are that we now try to fulfill larger alignments by adjusting the buf_offset appropriately (this is not needed for radeonsi, but I did some basic tests to make sure this works) and we don't use a geometry shader if the driver can handle layer writes in the VS. Please review. Thanks, Nicolai -- src/gallium/docs/source/screen.rst | 11 + .../drivers/freedreno/freedreno_screen.c | 3 + src/gallium/drivers/i915/i915_screen.c | 2 + src/gallium/drivers/ilo/ilo_screen.c | 3 + src/gallium/drivers/llvmpipe/lp_screen.c | 2 + .../drivers/nouveau/nv30/nv30_screen.c | 2 + .../drivers/nouveau/nv50/nv50_screen.c | 2 + .../drivers/nouveau/nvc0/nvc0_screen.c | 2 + src/gallium/drivers/r300/r300_screen.c | 2 + src/gallium/drivers/r600/r600_pipe.c | 4 + src/gallium/drivers/radeon/r600_texture.c | 26 +- src/gallium/drivers/radeonsi/si_pipe.c | 4 + src/gallium/drivers/softpipe/sp_screen.c | 3 + src/gallium/drivers/svga/svga_screen.c | 2 + src/gallium/drivers/vc4/vc4_screen.c | 2 + src/gallium/drivers/virgl/virgl_screen.c | 3 + src/gallium/include/pipe/p_defines.h | 2 + src/mesa/state_tracker/st_cb_texture.c | 1178 +++++++++++++++- src/mesa/state_tracker/st_cb_texture.h | 5 + src/mesa/state_tracker/st_context.c | 2 + src/mesa/state_tracker/st_context.h | 13 + 21 files changed, 1254 insertions(+), 19 deletions(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev