bgfx/examples/39-assao/cs_assao_load_counter_clear.sc

16 lines
333 B
Python
Raw Normal View History

2018-12-15 00:09:37 +03:00
/*
* Copyright 2018 Attila Kocsis. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "bgfx_compute.sh"
#include "uniforms.sh"
UIMAGE2D_WR(s_loadCounterOutputUAV, r32ui, 0);
NUM_THREADS(1, 1, 1)
void main()
{
imageStore(s_loadCounterOutputUAV, ivec2(0, 0), uvec4(0,0,0,0));
}