*using sbo on non compute shaders (like fragment shaders seems no be not correct) Seems to compile so please fix to be able to use not only 32767 bytes of shared mem but full 32768 bytes. I verify this issue is on shared mem size usage as using something like Size (GL_MAX_COMPUTE_SHARED_MEMORY_SIZE: 32768).
Isn't a issue so 32 should work as for this conf each of this two shared arrays is size 8192 (sizeof(double)*32*32) so total shared mem usage is 2*8192 and is equal to reported max Layout (local_size_x = 32, local_size_y = 32) in Layout (local_size_x = BLOCK_SIZE, local_size_y = BLOCK_SIZE) in ĭiminishing BLOCK_SIZE to less than 32 seems to work. *using a compute shader with following launch size and shared arrays usage: *using atomicMax and atomicMin on shared variables hang the GLSL compiler others like atomicOr are OK! (please note all the samples I use for testing this work correctly on Nvidia OGL 4.3 cards) R0.I have been testing new OGL compute shader and storage buffer objects extension and found following bugs (13.4 on 7950): #var float4 gl_FragCoord : $vin.WPOS : WPOS : -1 : 1 #var float4 Color : $vout.COL0 : COL0 : -1 : 1 Internal error: assembly compile error for fragment shader at offset 611: Layout(location = FRAG_COLOR, index = 0) out vec4 Color Ĭolor = imageLoad(Diffuse, ivec2(gl_FragCoord.xy)) Layout(binding = 0, rgba8) uniform image2D Diffuse //it works!! layout(binding = 0, rgba8) coherent uniform image2D Diffuse //dont work #extension GL_ARB_shader_image_size : require
To this: layout(binding = 0, rgba8) uniform image2D Diffuse //it works!!įull details (saying no where it fails) and patch applied: #version 420 core In shader which I fix removing coherent in image definition layout(binding = 0, rgba8) coherent uniform image2D Diffuse //dont work This is related to new function ivec2 Size = imageSize(Diffuse) Line 22, column 5: error: supported only on load, store, and atomic instructions I’m concentrating on two I’m more interested first in 430-image_store sample I get I think and error in assembly
run install again, and then hopefully have a viable development system.įirst is Nvidia monitoring OpenGL 4.3.0.0 sample pack by g-truc and aware of three samples not working… Once I’ve found a more reliable system backup program to use, I’ll try the NVIDIA. Hopefully I’ll have better luck working from mainstream Lubuntu 12.04. They don’t actually have the beta driver, and all their extra package junk is pretty much what destabilized my system. Tried to use Duplicity to restore it and it totally failed, although I didn’t lose any personal data.
Unfortunately it also sent me up a driver installation and package update learning curve that destabilized my system. When I installed the exact driver version 304.15.00.02, I did get the 18 new extensions for my 3.x class HW. I think if you installed a driver with version 304.32 you probably didn’t use the OpenGL 4.3 beta driver, which is version 304.15.00.02 for Linux.
The drivers and extension documentation can be downloaded from OpenGL Driver Support