tgsi: add precise flag to tgsi_instruction

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Karol Herbst 2017-06-23 20:30:20 +02:00 committed by Ilia Mirkin
parent 30d6bc470a
commit af22adee4f
2 changed files with 3 additions and 1 deletions

View file

@ -642,6 +642,7 @@ tgsi_default_instruction( void )
instruction.Label = 0;
instruction.Texture = 0;
instruction.Memory = 0;
instruction.Precise = 0;
instruction.Padding = 0;
return instruction;

View file

@ -638,7 +638,8 @@ struct tgsi_instruction
unsigned Label : 1;
unsigned Texture : 1;
unsigned Memory : 1;
unsigned Padding : 2;
unsigned Precise : 1;
unsigned Padding : 1;
};
/*