Questions tagged [ssbo]
18 questions
0
votes
1 answer
What is the minimum guaranteed Shader Storage block size?
I can't seem to find it if it exists.
I've run into a problem with uniform buffers where the gl spec gives a minimum size of only 1024 locations. Is there a set minumum to the number of locations i can reference in a shader for an SSBO? For…

Roelin Heart
- 41
- 4
0
votes
1 answer
stream parallel load to Shader Storage Buffer Object
I am trying to load integer array in parallel, but i get an error:
int[][] colors;
...
IntStream.range(0, colors.length).parallel().forEach(i -> {
GL15.glBufferSubData(GL43.GL_SHADER_STORAGE_BUFFER, pixelSIZE * i, colors[i]);
…

Timur Nizamiev
- 3
- 1
- 4
0
votes
0 answers
Vertices indexing in geometry shader & SSBO performance
I'm constructing a shader program & GL host environment that would do a relatively simple task:
Run VS -> TCS -> TES -> GS set of shader stages on a number of
triangles (patches). TES/TCS do produce additional tesselated
triangles.
Create a simple…

lhog
- 105
- 1
- 8