SPV: Don't add clip/cull distance capabilities unless used.
These capabalities were added on declaration of the members, but that is considered too aggressive, as those members are automatically declared in some shaders that don't use them. Now, actual access is needed to make the capabalities be declared.
This commit is contained in:
parent
e5f29393da
commit
ebb505355d
5 changed files with 27 additions and 11 deletions
|
|
@ -9,7 +9,6 @@ Linked geometry stage:
|
|||
|
||||
Capability Geometry
|
||||
Capability GeometryPointSize
|
||||
Capability ClipDistance
|
||||
Capability GeometryStreams
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue