From 95654c371e1b1c1916751d5dcd0d1f3fbfdc12a0 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 27 Oct 2021 15:21:09 -0400 Subject: SPIR-V fixes (#1992) * #include an absolute path didn't work - because paths were taken to always be relative. * Use updated slang-binaries that have SPIR-V diagnostics improvements. * Re-enable nv-ray-tracing-motion-blur, because with SPIR-V diagnostic fixes in glslang - there shouldn't be spurious errors from glslang compilation. * If optimization fails use the SPIR-V we have. * Update SPIR-V headers and generated files. Updated documentation. * Update spirv-headers/tools. Revert slang-binaries. * Remove hack around spir-v optimization as no longer needed. disable nv-ray-tracing-motion-blur.slang --- tests/nv-extensions/nv-ray-tracing-motion-blur.slang | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/nv-extensions') diff --git a/tests/nv-extensions/nv-ray-tracing-motion-blur.slang b/tests/nv-extensions/nv-ray-tracing-motion-blur.slang index f01d2186c..d87400ae1 100644 --- a/tests/nv-extensions/nv-ray-tracing-motion-blur.slang +++ b/tests/nv-extensions/nv-ray-tracing-motion-blur.slang @@ -1,6 +1,4 @@ -// Note: this test is disabled because it causes an "error:xxx" line being printed by -// glsl-validator to the console output, this will leads to github actions to terminate -// the job and return failure status. +// Disable until we are using updated glslang that correctly supports //DISABLE_TEST:CROSS_COMPILE: -profile glsl_460+GL_EXT_ray_tracing -stage raygeneration -entry main -target spirv-assembly #define TRACING_EPSILON 1e-6 -- cgit v1.2.3