mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
19 lines
517 B
Plaintext
19 lines
517 B
Plaintext
#version 450
|
|
#extension GL_ARB_shader_group_vote : require
|
|
layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(binding = 0, std430) buffer inputData
|
|
{
|
|
float inputDataArray[];
|
|
} _12;
|
|
|
|
void main()
|
|
{
|
|
float thisLaneData = _12.inputDataArray[gl_LocalInvocationID.x];
|
|
bool laneActive = thisLaneData > 0.0;
|
|
bool allInvocations = allInvocationsARB(laneActive);
|
|
bool anyInvocations = anyInvocationARB(laneActive);
|
|
bool allInvocationsEqual = allInvocationsEqualARB(laneActive);
|
|
}
|
|
|