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 object, subobject, and non-divisible sub-subobject #372

Open
llvm-beanz opened this issue Jan 23, 2025 · 0 comments · May be fixed by #393
Open

Define object, subobject, and non-divisible sub-subobject #372

llvm-beanz opened this issue Jan 23, 2025 · 0 comments · May be fixed by #393
Assignees
Milestone

Comments

@llvm-beanz
Copy link
Collaborator

In the language specification under Decl.Init.Agg, and in #358, we talk about objects and flattened orderings.

We should really have unified definitions earlier in the spec for "object", "subobject", "flattened ordering" and a notion of a non-divisible subobject (a subobject that does not contain subobjects).

@llvm-beanz llvm-beanz added this to the HLSL Spec milestone Jan 23, 2025
@damyanp damyanp moved this to Triaged in HLSL Triage Jan 23, 2025
@damyanp damyanp moved this to Planning in HLSL Support Feb 11, 2025
@damyanp damyanp moved this from Planning to Active in HLSL Support Feb 11, 2025
llvm-beanz added a commit to llvm-beanz/hlsl-specs that referenced this issue Feb 17, 2025
This change begins to define the object model for HLSL and clearly denotes aggregate and non-aggregate types. It provides base definitions for sub-object ordering and scalar elementwise ordering. It also defines non-decomposable objects and stubs out sections for constructon and access control.

HLSL does not currently support user-defined constructors or access control specifiers, however both are used implicitly and denote non-decomposible objects.

Fixes microsoft#372
@llvm-beanz llvm-beanz linked a pull request Feb 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triaged
Development

Successfully merging a pull request may close this issue.

2 participants