Vulkan: Have desktop shaders respect precision qualifiers.
Sets highp defaults for the appropriate types, for all stages, and turns on precision qualifiers for non-ES shaders. Required fixing some qualifier orders for desktop built-in declarations for pre-420 shaders.
This commit is contained in:
parent
4d535640e4
commit
54571c2519
11 changed files with 164 additions and 114 deletions
|
|
@ -15,7 +15,7 @@ ERROR: 0:15: 'constant_id' : can only be applied to a scalar
|
|||
ERROR: 0:16: 'constant_id' : specialization-constant id already used
|
||||
ERROR: 0:16: 'constant_id' : cannot declare a default, can only be used on a scalar
|
||||
ERROR: 0:20: 'subpassLoad' : no matching overloaded function found
|
||||
ERROR: 0:20: 'assign' : cannot convert from 'const float' to 'smooth out 4-component vector of float'
|
||||
ERROR: 0:20: 'assign' : cannot convert from 'const float' to 'smooth out highp 4-component vector of float'
|
||||
ERROR: 0:23: 'atomic counter types' : not allowed when using GLSL for Vulkan
|
||||
ERROR: 0:24: 'shared' : not allowed when generating SPIR-V
|
||||
ERROR: 0:25: 'packed' : not allowed when generating SPIR-V
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue