You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to get the above uniforms using Compiler::get_shader_resources() method (the struct ShaderResources does not contain uniforms member). The ones which does not have base type SPIRType::Image, SPIRType::Sampler, SPIRType::SampledImage or SPIRType::AccelerationStructure are not getting collected, I think they should be collected as uniforms.
The text was updated successfully, but these errors were encountered:
As per @HansKristian-Work, since the plain uniforms are supported only in legacy GL, we will use the name gl_plain_uniforms instead of uniforms. Created PR #2190.
I have the following uniforms in my fragment shader:
There is no way to get the above uniforms using
Compiler::get_shader_resources()
method (the structShaderResources
does not containuniforms
member). The ones which does not have base typeSPIRType::Image
,SPIRType::Sampler
,SPIRType::SampledImage
orSPIRType::AccelerationStructure
are not getting collected, I think they should be collected asuniforms
.The text was updated successfully, but these errors were encountered: