Generate Int8, Int16 and Float16 capabilities for constants

Fixes #2905
This commit is contained in:
Greg Fischer
2022-03-25 14:36:01 -06:00
parent f1d286fcc2
commit b7968b7dbc
2 changed files with 13 additions and 1 deletions

View File

@@ -1,12 +1,14 @@
spv.constConstruct.vert
Validation failed
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 150
Capability Shader
Capability Float16
Capability Float64
Capability Int64
Capability Int16
Capability Int8
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main"