146ea76f52
Update SPIRV-Tools/glslang commits. Use vulkan1.1 environment for testing. Found new "errors" in SPIRV-Tools, so disable validation on those shaders for now.
27 lines
620 B
Plaintext
27 lines
620 B
Plaintext
static const uint _3 = 1u;
|
|
static const uint _4 = 3u;
|
|
static const uint3 gl_WorkGroupSize = uint3(_3, 2u, _4);
|
|
|
|
RWByteAddressBuffer _8 : register(u0);
|
|
RWByteAddressBuffer _9 : register(u1);
|
|
|
|
static uint3 gl_WorkGroupID;
|
|
struct SPIRV_Cross_Input
|
|
{
|
|
uint3 gl_WorkGroupID : SV_GroupID;
|
|
};
|
|
|
|
static uint3 _22 = gl_WorkGroupSize;
|
|
|
|
void comp_main()
|
|
{
|
|
_8.Store(gl_WorkGroupID.x * 4 + 0, asuint(asfloat(_9.Load(gl_WorkGroupID.x * 4 + 0)) + asfloat(_8.Load(gl_WorkGroupID.x * 4 + 0))));
|
|
}
|
|
|
|
[numthreads(1, 2, 3)]
|
|
void main(SPIRV_Cross_Input stage_input)
|
|
{
|
|
gl_WorkGroupID = stage_input.gl_WorkGroupID;
|
|
comp_main();
|
|
}
|