[Bug 104668] dEQP-GLES31.functional.shaders.linkage.uniform.block.differing_precision regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 26 11:12:55 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104668

--- Comment #1 from Juan A. Suarez <jasuarez at igalia.com> ---
The problem is related with precision qualifiers.

In the offending commit, I was using get_interface_type() to check if two
members with the same name belongs to the same block. If not, then we are
breaking the spec.

The thing is that when we have two equal blocks, just with different precision
qualifiers, like:

In VS: uniform Data { highp float a };
In FS: uniform Data { mediump float a };


get_interface_type() return different values, and thus we return an error
because we assume that we have the same variable name in two different blocks.


But according to GLES spec, the precision qualifier is ignored to determine if
two storge blocks are the same or not. That is, in the above case both uniform
blocks are the same.

So here either get_interface_type() should return the same value, or work as it
is and perform a check to ignore the type.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180126/0c2d53e0/attachment.html>


More information about the intel-3d-bugs mailing list