Skip to main content
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) ...
cozmic's user avatar
  • 477
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 ...
Tuntenfisch's user avatar
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 ...
Lokarian's user avatar
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 ...
KIM CHANGJUN's user avatar
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 ...
ErnieDingo's user avatar
  • 1,180

Only top scored, non community-wiki answers of a minimum length are eligible