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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user