Initial commit - some engine bugs stopping compiling
This commit is contained in:
22
third-party/glad/test/c/compile/vulkan/default/005/test.c
vendored
Normal file
22
third-party/glad/test/c/compile/vulkan/default/005/test.c
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Issue #171. Enums being aliased, but the enum that they are aliased to
|
||||
* do not exist (e.g. because they don't exist in this profile).
|
||||
* This is to make sure Vulkan handles the enums correctly as well (since
|
||||
* the vulkan specification only specifies the alias and no value).
|
||||
*
|
||||
* See also c/compile/gl/default/007
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="vulkan=1.1" --extensions="VK_KHR_external_memory_capabilities" c
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/vulkan.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#include <glad/vulkan.h>
|
||||
|
||||
#if VK_LUID_SIZE_KHR != 8
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user