radeonsi: Don't snoop context state while building shaders.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 5 Oct 2012 14:59:10 +0000 (16:59 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 26 Oct 2012 13:51:17 +0000 (15:51 +0200)
commit44ef033c25ee0dde97a2339d4439560885d52cad
treebd4147b322bd0ad4b02aa146639c95aebbcc1542
parentf3257d80b0e3885607afda642d326e47db48ed62
radeonsi: Don't snoop context state while building shaders.

Let's use the shader key describing the state.

Ported from r600g commit b6521801070d52bdd5908824e82c1ce2dde16e8e.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c