| Issue |
165405
|
| Summary |
[Clang][HLSL] Unsupported semantics on the struct declaration
|
| Labels |
clang
|
| Assignees |
Keenuts
|
| Reporter |
Keenuts
|
Current DXC implementation supports HLSL semantics being applied on the struct declaration directly when declared inline:
This is not-yet supported by Clang.
- [ ] Figure out if this is valid HLSL in the new specification
- [ ] Support this in Clang
```hlsl
struct S0 {
struct semantic_on_struct_instance {
float a;
} g_struct : SOME_SEMANTIC;
};
RWStructuredBuffer<float> o;
void main(S0 s) {
o[0] = s.g_struct.a;
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs