Skip to content

Geometry shader support for HLSL#2483

Merged
HansKristian-Work merged 20 commits into
KhronosGroup:mainfrom
ashleyharris-maptek-com-au:GeometryShadersHlsl
May 27, 2025
Merged

Geometry shader support for HLSL#2483
HansKristian-Work merged 20 commits into
KhronosGroup:mainfrom
ashleyharris-maptek-com-au:GeometryShadersHlsl

Conversation

@ashleyharris-maptek-com-au

@ashleyharris-maptek-com-au ashleyharris-maptek-com-au commented May 20, 2025

Copy link
Copy Markdown
Contributor

Geometry shaders can now be outputted to HLSL.

This allows apps that ship with precompiled SPIRV shaders to target Direct3D environments even if they use geometry shaders.

@CLAassistant

CLAassistant commented May 20, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ashleyharris-maptek-com-au ashleyharris-maptek-com-au marked this pull request as ready for review May 22, 2025 03:08
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp
Comment thread spirv_hlsl.cpp
Comment thread shaders-hlsl/geom/triangles.geom
Comment thread spirv_parser.cpp Outdated
Comment thread spirv_hlsl.hpp Outdated
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_glsl.cpp Outdated

@HansKristian-Work HansKristian-Work left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the reflowing and the analysis fixed, I guess this will be acceptable for merge.

Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_hlsl.cpp Outdated
Comment thread spirv_cross.cpp Outdated

@HansKristian-Work HansKristian-Work left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nits

… revert to un-clang-formatted the now untouched code.
…y unpacking code, and added the hlsl/opt reference shader too.
@HansKristian-Work HansKristian-Work merged commit bcf2bb9 into KhronosGroup:main May 27, 2025
10 checks passed
pablode pushed a commit to pablode/SPIRV-Cross that referenced this pull request Jan 16, 2026
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.

3 participants