Issue |
81802
|
Summary |
[HLSL] unbounded resource array get error when compile
|
Labels |
HLSL
|
Assignees |
|
Reporter |
python3kgae
|
When compile following shader with clang --driver-mode=dxc -Tlib_6_6
```
RWBuffer<float> b[];
float foo(int i) {
return b[i][i];
}
```
clang will report error " definition of variable with array type needs an explicit size or an initializer"
dxc compiles it successfully.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs