GL_ARB_gpu_shader_int64. Compute shader. Shared storage.
Submitted by Rodaemac
Assigned to Default DRI bug account
Created attachment 135802 main.cpp and shader.
Hello. I can't assign a variable with the data from shared storage. Before 17.2.5 this bug affected all storage types, when using loops. It was fixed. Now its with shared storage only. Some algorithms are impossible to implement efficiently. I've created a test app to reproduce this bug. Output should be: OUTPUT: 2101479989,1917184202,4191109983,1779160146 Currently it is: 0,0,4191109983,1779160146
It was also tested with AMD proprietary driver(GL_AMD_gpu_shader_int64) on Windows 10 and worked correct. Note 1: If you remove a "shared" qualifier inside shader, you will see a correct output. Note 2: Sometimes an app freezes my OS on Shader Program execution.
Attachment 135802, "main.cpp and shader.":