radeonsi: do not set the shader->key for gs copy shaders
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Jan 2016 22:37:10 +0000 (17:37 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 25 Jan 2016 15:16:05 +0000 (10:16 -0500)
commit2385b253c60cfbd76d5d80bc23f3841a821dafec
tree813e6ed447c45e586bdf40bd54cef3124bb61629
parent46c0ba60c606d7af5518918bb305cb493227dc18
radeonsi: do not set the shader->key for gs copy shaders

The key for a geometry shader would be interpreted as the key for a vertex
shader further down the line, which really doesn't make sense.

This does not affect the contents of shader->key because geometry shaders
don't have any key entries anyway.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c