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.

16 lines
349 B

#include <assert.h>
#include <spirv-tools/libspirv.h>
#include <stdio.h>
int main(void)
{
const char* spv_version = spvSoftwareVersionString();
const char* spv_details = spvSoftwareVersionDetailsString();
assert(spv_version);
assert(spv_details);
printf("SPIRV-Tools version: %s (details: %s)", spv_version, spv_details);
return 0;
}