[Bug 109532] ir_variable has maximum access out of bounds -- but it's not out of bounds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 11 13:49:50 UTC 2019


--- Comment #21 from asimiklit <andrey.simiklit at gmail.com> ---
So the previously mentioned issue was due to issue in my fix. 
I fixed my it and locally I have the following results:

./deqp-gles31 -n dEQP-GLES31.functional.ssbo.*

Test run totals:
  Passed:        2061/2061 (100.0%)
  Failed:        0/2061 (0.0%)
  Not supported: 0/2061 (0.0%)
  Warnings:      0/2061 (0.0%)

It with mesa assertion fix and with deqp fix.
Without the mesa fix it is still crashes even if the deqp fix is applied:
   Test case
   ir_variable has maximum access out of bounds (1 vs 0)
   Aborted (core dumped)



So I am actually not 100% sure about which binding point should be assigned 
for BlockB[1] instance in the following case:

   layout(local_size_x = 1) in;

   layout(packed, binding = 0) buffer BlockB
           float b[1];
   } blockB[2];

   void main (void)
       blockB[1].b[0] = 77777.77777;

But according to next comment it should be 0 because of the BlockB[0] was
and there is the BlockB[1] only:

   /* The ARB_shading_language_420pack spec says:
    *    If the binding identifier is used with a uniform block instanced as
    *    an array then the first element of the array takes the specified
    *    block binding and each subsequent element takes the next consecutive
    *    uniform block binding point.


Mark is it possible to check both patches under Intel CI?

   fork: https://gitlab.freedesktop.org/asimiklit/mesa/
   branch: max_array_access

   fork: https://github.com/asimiklit/deqp/
   branch: array_instance_binding_fix

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/20190211/348a838d/attachment.html>

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