radeonsi/gfx10: add as_ngg shader key bit
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 May 2019 21:27:24 +0000 (23:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
commit8ec60d3031ca14d2429a2eb9dfc8df2c9fd21245
tree791975d3b201387150fa5b7b7868422695be9733
parent40b12c0f5a1e47dabaadb336b9d0630d939d2f6f
radeonsi/gfx10: add as_ngg shader key bit

Also add the shader main part NGG variant, so that in principle
we can switch between legacy in NGG modes.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_shaders.c