Questions tagged [compute-shader]
The compute-shader tag has no summary.
79 questions
0 votes
0 answers
114 views
How do you interrupt from a compute shader?
I am trying to solve a problem with compute shaders. I have several shaders that are executed one after the other in a loop. At an unpredictable time, the memory is full and the shaders should be ...
1 vote
2 answers
163 views
GLSL Compute Shader Workgroup Execution
I want to know about "If there is branch command in compute shader, and it leads some workgroup ends earlier than others, then will the 'processing units' allocated for that workgroup be used for ...
0 votes
1 answer
475 views
Average luminence and auto exposure algorithm not seeming to work properly
I've been working on adding HDR rendering, auto exposure, and tone-mapping to my rendering engine, following this blog post for doing auto exposure and it sequel as well as a few side resources for ...
0 votes
1 answer
183 views
How do I tell what kind of shader an hlsl shader is by looking at the code?
How do I tell what kind of shader this is: https://github.com/aras-p/UnityGaussianSplatting/blob/main/package/Shaders/GaussianSplatting.hlsl Among these options: vs – vertex shader ps – pixel shader ...
1 vote
1 answer
121 views
Partial Workgroup release of compute shaders?
When using compute shaders, some workgroups can be faster than others, for example when all invocations within one group go into the 'if' case, where on another workgroup the invocations go into the '...
0 votes
1 answer
224 views
Rendering light balls: Where to do perspective calculations?
After rewatching Bisqwit's starfield renderer video, I've decided to try to rewrite the program in order to learn more about compute shaders and shader programming in general. My knowledge at this ...
0 votes
1 answer
445 views
How to properly create textures using DSA for ImageTexture in OpenGL
For the old approach, generating a texture for the ImageTexture for compute shaders would look like this: ...
1 vote
0 answers
800 views
Compute shader in DirextX: difference between four kinds of memory barriers
There are four kinds of memory barriers in DirectX. Their names and definitions are: DeviceMemoryBarrier: Blocks execution of all threads in a group until all ...