Revert "radv: keep track of whether NGG is used for GS on GFX10"

This reverts commit 63e0675d98.

The GS is merged with the preceding shader and since the preceding
shader will have as_ngg set the final binary will have is_ngg set.

So we do not need the gs key here.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Bas Nieuwenhuizen
2019-07-09 11:00:33 +02:00
parent d33e93d332
commit f9070743a9
3 changed files with 1 additions and 10 deletions

View File

@@ -2259,9 +2259,7 @@ radv_fill_shader_keys(struct radv_device *device,
}
if (device->physical_device->rad_info.chip_class >= GFX10) {
if (nir[MESA_SHADER_GEOMETRY]) {
keys[MESA_SHADER_GEOMETRY].gs.as_ngg = true;
} else if (nir[MESA_SHADER_TESS_CTRL]) {
if (nir[MESA_SHADER_TESS_CTRL]) {
keys[MESA_SHADER_TESS_EVAL].tes.out.as_ngg = true;
} else {
keys[MESA_SHADER_VERTEX].vs.out.as_ngg = true;