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:
committed by
Ilia Mirkin
parent
30d6bc470a
commit
af22adee4f
@@ -642,6 +642,7 @@ tgsi_default_instruction( void )
|
|||||||
instruction.Label = 0;
|
instruction.Label = 0;
|
||||||
instruction.Texture = 0;
|
instruction.Texture = 0;
|
||||||
instruction.Memory = 0;
|
instruction.Memory = 0;
|
||||||
|
instruction.Precise = 0;
|
||||||
instruction.Padding = 0;
|
instruction.Padding = 0;
|
||||||
|
|
||||||
return instruction;
|
return instruction;
|
||||||
|
|||||||
@@ -638,7 +638,8 @@ struct tgsi_instruction
|
|||||||
unsigned Label : 1;
|
unsigned Label : 1;
|
||||||
unsigned Texture : 1;
|
unsigned Texture : 1;
|
||||||
unsigned Memory : 1;
|
unsigned Memory : 1;
|
||||||
unsigned Padding : 2;
|
unsigned Precise : 1;
|
||||||
|
unsigned Padding : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user