[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
Wed May 30 21:19:14 UTC 2018


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

--- Comment #2 from Nanley Chery <nanleychery at gmail.com> ---
(In reply to Illia from comment #1)
> Created attachment 139707 [details]
> piglit test workaround
> 
> Hello, i try to edit piglit test to cover that situation, and your mesa
> patch doesn't fix the issue.

Hi,

That's expected. The bug fix clamps the buffer size in the surface state. It
doesn't modify glBufferData's behavior.

>  My output is 
> 
> MAX_TEXTURE_BUFFER_SIZE: 134217728
> Error code: 0
> MAX_TEXTURE_BUFFER_SIZE: 134218728
> Probe color at (0,0)
>   Expected: 0 255 0 0
>   Observed: 0 0 0 0
> Probe color at (0,0)
>   Expected: 0 255 0 0
>   Observed: 0 0 0 0
> Probe color at (0,0)
>   Expected: 0 255 0 0
>   Observed: 0 0 0 0
> Probe color at (0,0)
>   Expected: 0 255 0 0
>   Observed: 0 0 0 0
> 
> Is need to make additional test witch cover that  behavior, or add assert to
> that test?

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.

-- 
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/20180530/3cb5ad14/attachment.html>


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