bgfx/3rdparty/glslang/Test/spv.460.frag
Branimir Karadžić 2d126ea41d Updated glslang.
2017-08-04 00:25:42 -07:00

18 lines
404 B
JavaScript

#version 460 core
layout(binding = 0) uniform atomic_uint aui;
uint ui;
void main()
{
atomicCounterAdd(aui, ui);
atomicCounterSubtract(aui, ui);
atomicCounterMin(aui, ui);
atomicCounterMax(aui, ui);
atomicCounterAnd(aui, ui);
atomicCounterOr(aui, ui);
atomicCounterXor(aui, ui);
atomicCounterExchange(aui, ui);
atomicCounterCompSwap(aui, ui, ui);
}