18 lines
314 B
HLSL
18 lines
314 B
HLSL
[numthreads(1, 1, 1)]
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
|
|
float4 tint_workgroupUniformLoad(inout float4 p) {
|
|
GroupMemoryBarrierWithGroupSync();
|
|
const float4 result = p;
|
|
GroupMemoryBarrierWithGroupSync();
|
|
return result;
|
|
}
|
|
|
|
groupshared float4 v;
|
|
|
|
float4 foo() {
|
|
return tint_workgroupUniformLoad(v);
|
|
}
|