Skip to content

Resolve inconsistencies in spec language for cbuffer declarations #671

@bogner

Description

@bogner

Which document does this relate to?
resources.tex

Describe the issue you see with the spec
9.5.1 p6 reads:

Other declarations in the cbuffer declaration group such as namespace-declaration, record-declaration or function declaration are not allowed

This is incorrect. The behaviour in dxc and fxc, and per the implementation proposal for clang, such constructs should transparently belong to the enclosing context.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions