Repository navigation
Replies: 2 comments
|
@csyonghe hello there! May be do you have any ideas? |
0 replies
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Slang documentation recommends to write something like this:
And it says that such "uniforms" allow to "share" the same slots/binding indices between different techniques because uniforms works locally only for a specific techniques.
But I see from reflection that bindingIndices for both cases are:
And when I call
isParameterLocationUsed(category, bindingIndex, bindingSpace, isUsed)isUsed for the parameters of the second techniques is always false (although for the first are always true).Somehow I found, that I should do something like this:
After this offset the
isParameterLocationUsedworks fine for both techniques, but it means that Sland still continue bloating binding indices.Did I miss something or there is a bug?
All reactions