[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
Sun Feb 3 00:58:03 UTC 2019


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

--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Looks like this is happening in link_uniform_blocks. The type gets updated:

      if (b->array != NULL &&
          (b->type->without_array()->interface_packing ==
           GLSL_INTERFACE_PACKING_PACKED)) {
         b->type = resize_block_array(b->type, b->array);
         b->var->type = b->type;
      }

But no change to the corresponding max_data_access. However doing the naive
thing here didn't help -- the shader fails. I didn't investigate why. I think
create_buffer_blocks also needs to be involved somehow.

-- 
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/20190203/d04e7188/attachment.html>


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