~ppsspp/ppsspp/+git/SPIRV-Cross:vulkan-sdk-1.3.268

Last commit made on 2023-10-16
Get this branch:
git clone -b vulkan-sdk-1.3.268 https://git.launchpad.net/~ppsspp/ppsspp/+git/SPIRV-Cross

Branch merges

Branch information

Name:
vulkan-sdk-1.3.268
Repository:
lp:~ppsspp/ppsspp/+git/SPIRV-Cross

Recent commits

2de1265... by Hans-Kristian Arntzen <email address hidden>

Merge pull request #2218 from KhronosGroup/pr-2217

Merge PR 2217

a4b8553... by Hans-Kristian Arntzen <email address hidden>

Style fixups.

f30d280... by Hans-Kristian Arntzen <email address hidden>

Fixup stray comments in test_shaders.sh.

2d072c6... by Hans-Kristian Arntzen <email address hidden>

Merge branch 'metal-3-1-regression-fix' of https://github.com/billhollings/SPIRV-Cross

16fbf88... by Bill Hollings <email address hidden>

MSL: Workaround Metal 3.1 regression bug on recursive input structs.

Metal 3.1 introduced a Metal regression bug which causes an infinite recursion
crash during Metal's analysis of an entry point input structure that itself
contains internal recursion. This patch works around this by replacing the
recursive input declaration with a alternate variable of type void*, and
then casting to the correct type at the top of the entry point function.

- Add CompilerMSL::Options::replace_recursive_inputs to enable
  replacing recursive input.
- Add Compiler::type_contains_recursion() to determine if a struct
  contains internal recursion, and add custom Decorations to mark
  such structs, to short-cut future similar checks.
- Replace recursive input struct declarations with void*,
  and emit a recast to correct type at top of entry function.
- Add unit test.
- Compiler::type_is_top_level_block() remove hardcode reference to spirv_cross
  namespace, as it interferes with configurable namespaces (unrelated).

105d5a8... by Hans-Kristian Arntzen <email address hidden>

Fix stray namespace issue.

724433d... by Hans-Kristian Arntzen <email address hidden>

Merge pull request #2216 from KhronosGroup/buffer-reference-2

GLSL: Use buffer_reference2 instead of 1.

082b1df... by Hans-Kristian Arntzen <email address hidden>

Merge pull request #2215 from KhronosGroup/fix-2210

GLSL: Fix and workaround some awkward code patterns

255ff2b... by Hans-Kristian Arntzen <email address hidden>

GLSL: Use buffer_reference2 instead of 1.

Supports more syntax.

be94425... by Hans-Kristian Arntzen <email address hidden>

GLSL: Ignore bogus constant/undefs which use block types.

This is banned in more recent SPIR-V.
We cannot implement this in any reasonable way since block types don't
participate as normal types in GLSL.