Tatooine
rendering
include
tatooine
gpu
compute_shader_layout_literal.h
Go to the documentation of this file.
1
#ifndef TATOOINE_GPU_COMPUTE_SHADER_LAYOUT_LITERAL_H
2
#define TATOOINE_GPU_COMPUTE_SHADER_LAYOUT_LITERAL_H
3
#define TATOOINE_COMPUTE_SHADER_LAYOUT1D(x) \
4
"layout(local_size_x = "
#x ") in;"
5
#define TATOOINE_COMPUTE_SHADER_LAYOUT2D(x, y) \
6
"layout(local_size_x = "
#x ", local_size_y = " #y ") in;"
7
#define TATOOINE_COMPUTE_SHADER_LAYOUT3D(x, y, z) \
8
"layout(local_size_x = "
#x ", local_size_y = " #y ", local_size_z = " #z \
9
") in;"
10
#endif
Generated by
1.9.5