radeonsi: don't snoop currently-bound GS shader when compiling ES
authorMarek Olšák <marek.olsak@amd.com>
Wed, 17 Sep 2014 20:17:02 +0000 (22:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:02 +0000 (14:48 +0200)
commite29353ff20a2761a5a1caeaed78398557797207c
tree27c76f3fedc936269ae82bb92cdb84a00354018f
parent2774abd4cec70d95cb73f83c2c150e9f5171c50d
radeonsi: don't snoop currently-bound GS shader when compiling ES

Instead, pass the layout of GS inputs in memory to the ES using the shader
key. Only 64 bits are needed to represent the layout in the key.

Mixing and matching different VS and GS shaders should now always work.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c