Fix: GPU: Broken GPU subdivision

The file glsl_compute_kernel.glsl is not written
in our safe GLSL. Don't run the preprocessor on it.

Fixes #128735
This commit is contained in:
Clément Foucault
2024-10-08 17:26:36 +02:00
parent 10c32cd120
commit 014db2e32e

View File

@@ -85,7 +85,7 @@ if(WITH_OPENSUBDIV)
add_definitions(-D_USE_MATH_DEFINES)
endif()
glsl_to_c(
data_to_c_simple(
internal/evaluator/shaders/glsl_compute_kernel.glsl
SRC
)