From 028dbd35bab1b9dba6911f3bf9b3a02a87e176ac Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 31 Jul 2019 16:55:33 -0400 Subject: compiler: add shader_info.vs.blit_sgprs_amd for internal radeonsi shaders --- src/gallium/auxiliary/nir/tgsi_to_nir.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/auxiliary/nir') diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 4770e8f4790..ca805df8739 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -2106,6 +2106,9 @@ ttn_compile_init(const void *tgsi_tokens, case TGSI_PROPERTY_NEXT_SHADER: s->info.next_stage = tgsi_processor_to_shader_stage(value); break; + case TGSI_PROPERTY_VS_BLIT_SGPRS_AMD: + s->info.vs.blit_sgprs_amd = value; + break; default: if (value) { fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n", -- cgit v1.2.3