Wondering if there is already support for shader storage buffers? Cannot find anything about them in the documentation. I’ve found a post from 2017 where
@malcolm mentioned that these would be added eventually:
Having my very first look at compute shaders in 099 (and compute shaders in general), I’m guessing they’re only meant to be used with imageLoad/Store and deal with image variables, and not shader buffer objects?
Guessing for shader buffer objects to make sense a mean to access them for rendering geometry would be needed though I’m not sure how it would work currently.
I was looking at this nvidia sample
docs.nvidia.com/gameworks/index … s%7C_____6
Thanks a lot!
Declaring them gives no errors, for instance:
layout( std140, binding = 0 ) buffer Part
But I don’t see how to initialize them or read from them outside of the compute shader.