You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/FindVulkan/Test/main-shaderc_combined.cxx

15 lines
304 B

#include <assert.h>
#include <shaderc/shaderc.h>
#include <stdio.h>
int main()
{
unsigned int shaderc_version, shaderc_revision;
shaderc_get_spv_version(&shaderc_version, &shaderc_revision);
printf("shaderc version: %u (revision: %u)", shaderc_version,
shaderc_revision);
return 0;
}