<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - shader storage buffer failed to write when buffer variables > 1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102941">102941</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>shader storage buffer failed to write when buffer variables > 1
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jiajia.qin@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="https://chromium-review.googlesource.com/c/angle/angle/+/618132/14/src/tests/gl_tests/ShaderStorageBufferTest.cpp#86">https://chromium-review.googlesource.com/c/angle/angle/+/618132/14/src/tests/gl_tests/ShaderStorageBufferTest.cpp#86</a>
Note: The NVDIA driver works well for it. And Intel Win10 OpenGL driver also
works well.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>