Skip to content
Snippets Groups Projects
Verified Commit 23576685 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#105] Fixed bindless demo artifacts with nonuniformEXT()

parent c9588bf1
No related branches found
No related tags found
1 merge request!88Resolve "Indirect Draw"
Pipeline #27478 passed
......@@ -12,5 +12,5 @@ layout(set=0, binding=0) uniform sampler textureSampler;
layout(set=0, binding=1) uniform texture2D materialTextures[];
void main() {
outColor = texture(sampler2D(materialTextures[passTextureIndex], textureSampler), passUV).rgb;
outColor = texture(sampler2D(materialTextures[nonuniformEXT(passTextureIndex)], textureSampler), passUV).rgb;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment