Fixed typo in NumWorkGroups.

This commit is contained in:
Hans-Kristian Arntzen 2016-05-28 11:30:38 +02:00
parent 5ad4340976
commit 1a199f2ad0

View File

@ -488,7 +488,7 @@ struct ComputeResources
s.register_builtin(SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS, gl_NumWorkGroups__);
}
#define gl_WorkGroupID __res->gl_WorkGroupID__.get()
#define gl_NumWorkGroups __res->gl_NumWorkGroups.get()
#define gl_NumWorkGroups __res->gl_NumWorkGroups__.get()
Barrier barrier__;
#define barrier() __res->barrier__.wait()