Skip to main content

All Questions

Tagged with
0 votes
0 answers
346 views

Does RWStructuredBuffer have built-in overflow protection in hlsl?

It appears that reads to indices outside the range of a ComputeBuffer always return 0, and writes to out-of-range indices do not cause any exceptions or runtime errors. Is there built-in range-...
infosizzle's user avatar
2 votes
1 answer
3k views

Using buffers correctly in OpenGL compute shaders

I'm re-writing an algorithm that I first wrote using matrix/vector operation into OpenGL kernels in order to try to maximiz the performances. I have a basic knowledge of OpenGL, so I was able to get ...
04348's user avatar
  • 23
2 votes
1 answer
2k views

Sharing memory between compute shader and pixel shader

I am relatively new to compute shaders and gpgpu in general so bear with me if i am missing the point somewhere. The main thing i do not yet understand / see is how to get memory from a compute ...
AverageGatsby's user avatar
2 votes
1 answer
1k views

Feeding vertex data to a compute shader

I'm writing a CAD program in vulkan. In my current design, I have line paths represented as large vertex buffers for rendering. I would like to implement an algorithm for extruding the path outwards, ...
Holden Green's user avatar
4 votes
1 answer
2k views

Compute shaders: one-time-only versus persistent buffers

When using a Compute Shader, is it possible to keep a buffer in the GPU memory during the whole run-time duration of the application, so whenever the original Compute Shader or other Compute Shaders ...
Brianna Szvenska's user avatar