r600g: Use TGSI parse results instead of manually exfiltrating
This makes better use of the work that the TGSI API has done for us. Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
committed by
Marek Olšák
parent
3eed81a97b
commit
0d19dc302f
@@ -1839,7 +1839,7 @@ static int r600_shader_from_tgsi(struct r600_context *rctx,
|
||||
shader->indirect_files = ctx.info.indirect_files;
|
||||
indirect_gprs = ctx.info.indirect_files & ~(1 << TGSI_FILE_CONSTANT);
|
||||
tgsi_parse_init(&ctx.parse, tokens);
|
||||
ctx.type = ctx.parse.FullHeader.Processor.Processor;
|
||||
ctx.type = ctx.info.processor;
|
||||
shader->processor_type = ctx.type;
|
||||
ctx.bc->type = shader->processor_type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user