2022-03-31 22:30:10 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
|
|
|
}
|
2022-03-31 22:30:10 +00:00
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
RWByteAddressBuffer v : register(u0, space0);
|
2022-03-31 22:30:10 +00:00
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
void tint_symbol(RWByteAddressBuffer buffer, uint offset, float4x4 value) {
|
|
|
|
buffer.Store4((offset + 0u), asuint(value[0u]));
|
|
|
|
buffer.Store4((offset + 16u), asuint(value[1u]));
|
|
|
|
buffer.Store4((offset + 32u), asuint(value[2u]));
|
|
|
|
buffer.Store4((offset + 48u), asuint(value[3u]));
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
float4x4 tint_symbol_2(RWByteAddressBuffer buffer, uint offset) {
|
|
|
|
return float4x4(asfloat(buffer.Load4((offset + 0u))), asfloat(buffer.Load4((offset + 16u))), asfloat(buffer.Load4((offset + 32u))), asfloat(buffer.Load4((offset + 48u))));
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|
|
|
|
|
2022-03-31 22:30:10 +00:00
|
|
|
void foo() {
|
2022-06-01 13:14:39 +00:00
|
|
|
tint_symbol(v, 0u, mul(float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx), tint_symbol_2(v, 0u)));
|
2022-03-31 22:30:10 +00:00
|
|
|
}
|