bgfx/examples/39-assao/cs_assao_load_counter_clear.sc

16 lines
278 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"
BUFFER_WR(s_loadCounter, uint, 0);
2018-12-15 00:09:37 +03:00
NUM_THREADS(1, 1, 1)
void main()
{
s_loadCounter[0] = 0;
2018-12-15 00:09:37 +03:00
}