We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a8660 commit bec77d9Copy full SHA for bec77d9
vcc-std/include/shady.h
@@ -5,6 +5,10 @@
5
#error "This header can only be used with Vcc"
6
#endif
7
8
+#if defined(__cplusplus) & !defined(SHADY_CPP_NO_NAMESPACE)
9
+namespace vcc {
10
+#endif
11
+
12
#define vertex_shader __attribute__((annotate("shady::entry_point::Vertex")))
13
#define fragment_shader __attribute__((annotate("shady::entry_point::Fragment")))
14
#define compute_shader __attribute__((annotate("shady::entry_point::Compute")))
@@ -56,4 +60,8 @@ __attribute__((annotate("shady::builtin::WorkgroupSize")))
56
60
__attribute__((address_space(389)))
57
61
uvec3 gl_WorkGroupSize;
58
62
63
64
+}
65
66
59
67
0 commit comments