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
|
|
@ -18,7 +18,9 @@ Linked vertex stage:
|
|||
Name 8 "i"
|
||||
Name 18 "flag"
|
||||
Name 31 "r"
|
||||
Decorate 18(flag) RelaxedPrecision
|
||||
Decorate 18(flag) Location 0
|
||||
Decorate 19 RelaxedPrecision
|
||||
Decorate 31(r) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue