2021-06-18 21:15:25 +00:00
|
|
|
cbuffer cbuffer_v : register(b0, space0) {
|
|
|
|
uint4 v[1];
|
2021-05-20 21:31:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
2021-07-02 19:27:42 +00:00
|
|
|
const uint scalar_offset = (0u) / 4;
|
2021-06-18 21:15:25 +00:00
|
|
|
const int use = (asint(v[scalar_offset / 4][scalar_offset % 4]) + 1);
|
2021-05-20 21:31:37 +00:00
|
|
|
return;
|
|
|
|
}
|