st/glsl_to_tgsi: swizzle PROGRAM_OUTPUTs correctly in src_register translation
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 21 Nov 2016 09:36:50 +0000 (10:36 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 30 Nov 2016 08:09:59 +0000 (09:09 +0100)
commit0a58b258caf67aa85c49bb4160b48a61b535e2be
tree43be04d742426e57f2a5c4c03e90f48971a4a5d3
parent611166b8ed08ce39f835385b8e08e37754edcf7b
st/glsl_to_tgsi: swizzle PROGRAM_OUTPUTs correctly in src_register translation

This is required for reading directly from fragment shader stencil and depth
outputs.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp