3
votes
Accepted
Synchronization between several glDispatchCompute with same SSBOs
Yes, otherwise B may read data A is currently writing to or hasn't even reached yet. It's simple however, just call glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT) ...
2
votes
Accepted
How to evaluate a binary expression tree in HLSL without recursion or a stack?
Alright, I didn't manage to evaluate the binary expression tree without a stack entirely. I do need a stack but the stack capacity only has to be 2 elements in order to evaluate any binary expression ...
1
vote
How to evaluate a binary expression tree in HLSL without recursion or a stack?
When implementing something similar, only with post order traversal (evaluation of mathematical structures for ray marching), i encountered the same error with "array reference cannot be used as ...
1
vote
Accepted
reading from texture2d resource in directx11
i have found the solution. it looks even so pretty.
testV.push_back(outputArr[idx])
should have been edited like
...
1
vote
How to balance GPU compute usage against render usage?
I will have a stab at answering part of this, but like all devs. There are many aspects and considerations and its all opinion.
In short, there is no one answer. But I can give you only my tips ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gpgpu × 30gpu × 14
physics × 5
directx × 5
hlsl × 5
unity × 4
xna × 4
c# × 3
opengl × 3
optimization × 3
cuda × 3
c++ × 2
textures × 2
directx11 × 2
path-finding × 2
shaders × 1
rendering × 1
input × 1
geometry × 1
raycasting × 1
data-structure × 1
physics-engine × 1
data × 1
raytracing × 1
testing × 1