tests: Skip test that requires GLSL path
diff --git a/tests/render_tests.cpp b/tests/render_tests.cpp
index 9b06fe0..0a58165 100644
--- a/tests/render_tests.cpp
+++ b/tests/render_tests.cpp
@@ -3267,7 +3267,12 @@
// Green triangle means everything worked as expected
// Red means something went wrong
- // disable SPV until texture gather is turned on in LunarGLASS
+ // disable SPV until texture gather is turned on in glsl->SPV
+ if (!m_use_glsl) {
+ printf("Skipping test that requires GLSL path (TextureGather)\n");
+ return;
+ }
+
ScopedUseGlsl useGlsl(true);
static const char *vertShaderText =