Improve error message for image/sampler functions for enhanced-msgs
For recent GLSL versions, if texture2D function call appears, the error message reports an unsupported type constructor. Change message to unsupported function. Likewise for other removed texture* function calls.
This commit is contained in:
parent
90d4bd05cd
commit
bbe692e731
4 changed files with 22 additions and 1 deletions
6
Test/baseResults/spv.textureError.frag.out
Normal file
6
Test/baseResults/spv.textureError.frag.out
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
spv.textureError.frag
|
||||
ERROR: spv.textureError.frag:8: 'texture*D*' : function not supported in this version; use texture() instead
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
Loading…
Add table
Add a link
Reference in a new issue