Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define HLSL Matrix behavior #65

Open
4 tasks
pow2clk opened this issue Sep 10, 2024 · 0 comments
Open
4 tasks

Define HLSL Matrix behavior #65

pow2clk opened this issue Sep 10, 2024 · 0 comments
Assignees

Comments

@pow2clk
Copy link
Collaborator

pow2clk commented Sep 10, 2024

Leveraging existing support for clang matrices, enable compatible HLSL matrix support potentially with alterations consistent with the direction of the language. At the very least, the following design decisions are needed:

  • Design mangling support to enable parameters and globals.
    • This will likely change some DXC overloading behavior e.g. float2x2 matching float4
  • Initialization syntax consistent with changes from DXC
    • DXC allows flat scalar or vector initialization
  • Allow broader type interactions likely through automatic conversions consistent with changes from DXC
  • Allow boolean matrices
    • This may dovetail with expanding boolean and other vector type compatibility.
@pow2clk pow2clk self-assigned this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant