Description
Now that cbuffer values are declared in a unique address space we're seeing a failure assigning an array from a cbuffer:
cbuffer CBArrays : register(b0) {
float c1[2];
int4 c2[2][2];
bool c3[2];
}
struct Arrays {
float c1[2];
int4 c2[2][2];
bool c3[2];
};
RWStructuredBuffer<Arrays> Out : register(u0);
[numthreads(1,1,1)]
void main() {
Out[0].c1 = c1;
Out[0].c2 = c2;
Out[0].c3 = c3;
}
Metadata
Metadata
Assignees
Type
Projects
Status
Closed