Front-end: Warn for likely missed change in default precisions.
This is part of the change to have desktop shaders respect precision qualifiers on Vulkan, but since the defaults are all highp, and that's different from ES fragment shaders, detect likely cases and warn about them (but being careful to not be too noisy if it's unlikely to be a problem).
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
spv.aggOps.frag
|
||||
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||
WARNING: 0:4: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
|
||||
"precision mediump int; precision highp float;"
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
Reference in New Issue
Block a user