Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2021-01-06 12:33:17 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-01-06 12:33:17 +0300
commitab9200ffdff1e485a8c398995afb291137a14c99 (patch)
tree3e7009bee841c4bf9007df41bf928527961389f2 /reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc
parentdf4f8ef8fef36d8a4d4ff3f041a00939e48f0851 (diff)
MSL: Don't flatten builtin arrays unless they're part of IO interface.
Diffstat (limited to 'reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc')
-rw-r--r--reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc4
1 files changed, 2 insertions, 2 deletions
diff --git a/reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc b/reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc
index 56f5e40e..4d6e7571 100644
--- a/reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc
+++ b/reference/shaders-msl-no-opt/asm/tesc/builtin-control-point-initializer.asm.tesc
@@ -48,8 +48,8 @@ struct _RESERVED_IDENTIFIER_FIXUP_gl_PerVertex
{
float4 _RESERVED_IDENTIFIER_FIXUP_gl_Position;
float _RESERVED_IDENTIFIER_FIXUP_gl_PointSize;
- float _RESERVED_IDENTIFIER_FIXUP_gl_ClipDistance[1];
- float _RESERVED_IDENTIFIER_FIXUP_gl_CullDistance[1];
+ spvUnsafeArray<float, 1> _RESERVED_IDENTIFIER_FIXUP_gl_ClipDistance;
+ spvUnsafeArray<float, 1> _RESERVED_IDENTIFIER_FIXUP_gl_CullDistance;
};
struct Verts