[Mesa-dev] [PATCH] glsl: set precision qualifier on interface block members

Samuel Iglesias Gonsálvez siglesias at igalia.com
Wed Nov 11 23:14:34 PST 2015



On 12/11/15 08:13, Tapani Pälli wrote:
> 
> 
> On 11/12/2015 09:11 AM, Samuel Iglesias Gonsálvez wrote:
>> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
>>
>> Are you planning to merge it to patch 5/7 or keep it standalone?
> 
> Yeah, I'll merge this to patch 5/7, otherwise there are some failures
> between patches when bisecting.
> 

OK, thanks!

Sam

>> Sam
>>
>> On 12/11/15 07:57, Tapani Pälli wrote:
>>> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
>>> ---
>>>   src/glsl/ast_to_hir.cpp | 1 +
>>>   1 file changed, 1 insertion(+)
>>>
>>> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
>>> index 2fd9c5b..51ea183 100644
>>> --- a/src/glsl/ast_to_hir.cpp
>>> +++ b/src/glsl/ast_to_hir.cpp
>>> @@ -6161,6 +6161,7 @@
>>> ast_process_structure_or_interface_block(exec_list *instructions,
>>>            fields[i].centroid = qual->flags.q.centroid ? 1 : 0;
>>>            fields[i].sample = qual->flags.q.sample ? 1 : 0;
>>>            fields[i].patch = qual->flags.q.patch ? 1 : 0;
>>> +         fields[i].precision = qual->precision;
>>>
>>>            /* From Section 4.4.2.3 (Geometry Outputs) of the GLSL
>>> 4.50 spec:
>>>             *
>>>
> 


More information about the mesa-dev mailing list