This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
Shader Validation Error (wgpu 0.8.1): Required uniformity of control flow for IMPLICIT_LEVEL #912
Labels
question
Further information is requested
Hi folks! While updating conrod, I've run into a validation error on an old shader that seemingly worked OK on older versions (0.7 and prior).
Here's the error:
And here's the shader:
and the SPIR-V generated by glslangValidator:
Curiously, if I remove the conditions and just leave the first block like so:
It passes validation without issue. Similarly, if I leave the conditions but remove the texture lookup like so:
This also seems to pass validation without issues.
Perhaps I'm running into some odd edge-case w.r.t doing texture lookup inside of conditional branches?
The text was updated successfully, but these errors were encountered: