Skip to content

[HLSL] Disallow 16-bit integer types if native 16-bit types are disabled #81779

@llvm-beanz

Description

@llvm-beanz

DXC disallows declarations of 16-bit types if the native 16-bit types are disabled. In Clang, we #ifdef out the 16-bit intrinsics to prevent generating 16-bit types.

Acceptance Criteria

Test cases that produce diagnostics when users use 16-bit types without enabling native 16-bit types.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions