Skip to content

Fix CMake 4 error#6

Merged
docEdub merged 1 commit into
mainfrom
250514-fix-cmake-4-error
May 14, 2025
Merged

Fix CMake 4 error#6
docEdub merged 1 commit into
mainfrom
250514-fix-cmake-4-error

Conversation

@docEdub

@docEdub docEdub commented May 14, 2025

Copy link
Copy Markdown

CMake 4 issues an error when the cmake minimum required version is less than 3.5, and a warning when less than 3.10. This change increases the minimum CMake version to 3.10 to avoid the error and warning.

CMake 4 issues an error when the cmake minimum required version is less than 3.5, and a warning when less than 3.10. This change increases the minimum CMake version to 3.10 to avoid the error and warning.
@docEdub docEdub merged commit 6abfcf0 into main May 14, 2025
@docEdub docEdub deleted the 250514-fix-cmake-4-error branch May 14, 2025 20:13
bkaradzic-microsoft added a commit that referenced this pull request May 15, 2026
Continues the work in #6-#10. Removes WEBMIN guards around four
opcodes/helpers that Babylon Native's shader compiler trips on:

  - OpSNegate (case in CompilerGLSL_emit_instruction)
  - OpVectorTimesMatrix (cases in emit_instruction and
    CompilerGLSL_emit_instruction)
  - OpVectorExtractDynamic (case in CompilerGLSL_emit_instruction)
  - to_extract_constant_composite_expression() helper (replaces
    INVALID_CALL stub with the real implementation already present
    in the same file)

These were the only remaining SPIRV-Cross stubs reachable by Babylon
Native's HLSL transpile path on D3D11. Net change: +35 / -20 lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants