Compute shader throwing validation errors not present in Vulkan #4534
Labels
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
type: enhancement
New feature or request
I'm attempting to create a module from the following shader:
This shader works perfectly on Vulkan, but throws a few validation errors when used with naga.
The firs is related to early return:
And if I comment out that section, I get a second error:
By process of elimination, it seems to come down to the texture sampling:
Are these known issues, and is there any documentation about how naga's GLSL deviates from the standard?
The text was updated successfully, but these errors were encountered: