[Bug 106481] No test for Image Load/Store on texture buffer sized greater than MAX_TEXTURE_BUFFER_SIZE_ARB

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 15 18:45:53 UTC 2018


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

--- Comment #4 from Nanley Chery <nanleychery at gmail.com> ---
(In reply to Illia from comment #3)
> (In reply to Nanley Chery from comment #2)
>  
> > I'm not sure what you'd assert in the max-size test. A new test can be
> > created or an existing one modified. I'm guessing adding a test for
> > GL_ARB_shader_image_size would be the easiest way to test the issue.
> 
> I have wrote  test to piglit https://patchwork.freedesktop.org/patch/227961/
> that is the latest version. That test passes on radeon and fails on i965. 
> For some reason a new mail thread was created for that patch. Here is a link
> to original mail thread. https://patchwork.freedesktop.org/patch/227613/

Sorry, but this test doesn't cover the situation mentioned here. It's
completely valid for a texture buffer to have a buffer object larger than 2^27B
bound to it. The issue mentioned here was that the size field in the surface
state object for buffers wasn't clamped to 2^27B as mentioned in the
texture_buffer spec.  More information about these surface state objects can be
found in the function, brw_emit_buffer_surface_state().

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/20180615/6c53610d/attachment.html>


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