-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
HLSL currently allows much more flexible overloading of the select function. The following is an example of a case that DXC supports which Clang does not.
typedef uint32_t4 uint32_t8[2];
export void filter(inout uint32_t4 output, uint32_t predicate, uint32_t value) {
output = select(uint4(0,1,2,3) == (uint4)predicate, value, output);
}Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Closed