Skip to content

Conversation

@llvm-beanz
Copy link
Collaborator

@llvm-beanz llvm-beanz commented Oct 15, 2025

This slightly scales back the proposal to restricting namespaces in cbuffers and restricting nesting of cbuffers. This is likely a safe change for HLSL 202x, and we'll consider more significant changes in subsequent language updates.

This conclusion came out of the language design meeting discussion from 10/13/2025.

The language spec updates are posted in a draft as #684.

This slightly scales back the proposal to restricting namespaces in
cbuffers and restricting nesting of cbuffers. This is likely a safe
change for HLSL 202x, and we'll consider more significant changes in
subsequent language updates.
@bogner
Copy link
Collaborator

bogner commented Oct 15, 2025

Better if the PR title says what this does ("Only restrict nested namespaces and cbuffers inside of cbuffers") rather than how we decided to do that. Mentioning that this came out of a design meeting is better suited as part of the commit body.

@llvm-beanz llvm-beanz changed the title [0037] Updates from design meeting discussion [0037] Only restrict nesting cbuffer and namespace decls Oct 15, 2025
Copy link
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

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

Couple of comments

Copy link
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

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

LGTM

@llvm-beanz llvm-beanz merged commit 3b61caf into microsoft:main Nov 6, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this to Triaged in HLSL Triage Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Triaged

Development

Successfully merging this pull request may close these issues.

3 participants