https://bugs.freedesktop.org/show_bug.cgi?id=106465
Bug ID: 106465
Summary: No test for Image Load/Store on format-incompatible
texture buffer
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev@lists.freedesktop.org
Reporter: nanleych...@gmail.com
QA Contact: mesa-dev@lists.freedesktop.org
>From the ARB_shader_image_load_store spec:
If the individual texel identified for an image load, store, or atomic
operation doesn't exist, the access is treated as invalid. Invalid image
loads will return zero. Invalid image stores will have no effect.
Invalid image atomics will not update any texture bound to the image unit
and will return zero. An access is considered invalid if:
[...]
* the internal format of the texture bound to the image unit is
incompatible with the specified <format> according to Table X.3;
Mesa does not validate the format of texture buffers to ensure this behavior.
This bug is fixed with this patch:
https://patchwork.freedesktop.org/patch/211340/
There currently isn't a test in the CTS or in piglit which catches this error.
One should be written to prevent this issue from appearing in the future.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev