bgfx/examples/39-assao/cs_assao_load_counter_clear.sc

16 lines
278 B
Python

/*
* Copyright 2018 Attila Kocsis. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "bgfx_compute.sh"
#include "uniforms.sh"
BUFFER_WR(s_loadCounter, uint, 0);
NUM_THREADS(1, 1, 1)
void main()
{
s_loadCounter[0] = 0;
}