SPV: Address superset of issue #151: missing OpCapability instructions.

This commit adds:
CapabilityGeometryPointSize
CapabilityTessellationPointSize
CapabilityClipDistance
CapabilityCullDistance
CapabilityMultiViewport
CapabilityTransformFeedback
CapabilityGeometryStreams
CapabilityDerivativeControl
CapabilityInterpolationFunction
This commit is contained in:
John Kessenich
2016-02-01 13:45:25 -07:00
parent 9df51caba9
commit 9218759ebb
14 changed files with 80 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ Linked fragment stage:
// Id's are bound by 213
Capability Shader
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186

View File

@@ -8,6 +8,7 @@ Linked fragment stage:
// Id's are bound by 101
Capability Shader
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 16 28 33 43

View File

@@ -8,6 +8,9 @@ Linked geometry stage:
// Id's are bound by 71
Capability Geometry
Capability GeometryPointSize
Capability ClipDistance
Capability GeometryStreams
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 10 18 29 33 47 49 51 70

View File

@@ -8,6 +8,7 @@ Linked vertex stage:
// Id's are bound by 50
Capability Shader
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 13 17 39 48 49

View File

@@ -8,6 +8,8 @@ Linked geometry stage:
// Id's are bound by 32
Capability Geometry
Capability ClipDistance
Capability GeometryStreams
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 13 20

View File

@@ -10,6 +10,7 @@ Linked fragment stage:
// Id's are bound by 1104
Capability Shader
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 13 1025 1031 1036 1048 1074 1095 1097

View File

@@ -10,6 +10,8 @@ Linked tessellation control stage:
// Id's are bound by 93
Capability Tessellation
Capability TessellationPointSize
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 4 "main" 23 40 43 46 52 66 73 79 83 84 87 88 91 92

View File

@@ -10,6 +10,8 @@ Linked tessellation evaluation stage:
// Id's are bound by 98
Capability Tessellation
Capability TessellationPointSize
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 4 "main" 21 38 41 47 53 61 68 77 81 82 86 90 93 94 97

View File

@@ -10,6 +10,8 @@ Linked geometry stage:
// Id's are bound by 74
Capability Geometry
Capability GeometryPointSize
Capability GeometryStreams
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 14 23 28 33 46

View File

@@ -10,6 +10,7 @@ Linked vertex stage:
// Id's are bound by 69
Capability Shader
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 12 23 34 44 45 65 67 68

View File

@@ -10,6 +10,8 @@ Linked vertex stage:
// Id's are bound by 50
Capability Shader
Capability ClipDistance
Capability CullDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 24 48 49

View File

@@ -10,6 +10,7 @@ Linked fragment stage:
// Id's are bound by 101
Capability Shader
Capability InterpolationFunction
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 13 24 33 41 99