[Bug 102941] shader storage buffer failed to write when buffer variables > 1
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 22 08:43:32 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102941
Bug ID: 102941
Summary: shader storage buffer failed to write when buffer
variables > 1
Product: Mesa
Version: 17.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: jiajia.qin at intel.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
If we have a compute shader like below:
const std::string &csSource =
"#version 450\n"
"layout(local_size_x=1, local_size_y=1, local_size_z=1) in;\n"
"layout(shared, binding = 1) buffer blockName {\n"
" uint data[2];\n"
"} instanceName;\n"
"void main()\n"
"{\n"
" instanceName.data[0] = 3u;\n"
" instanceName.data[1] = 4u;\n"
"}\n";
When we check the buffer data in api side, data[0] is 3u as expected, but
data[1] is always 0u.
The error is found in ANGLE angle_end2end_tests. See
https://chromium-review.googlesource.com/c/angle/angle/+/618132/14/src/tests/gl_tests/ShaderStorageBufferTest.cpp#86
Note: The NVDIA driver works well for it. And Intel Win10 OpenGL driver also
works well.
--
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/20170922/6b2ede53/attachment.html>
More information about the intel-3d-bugs
mailing list