Fix #115594: EEVEE Next: Crash with VDB

This commit is contained in:
Miguel Pozo
2023-12-05 16:46:45 +01:00
parent 0fd851bd4b
commit 026cdb1058

View File

@@ -523,7 +523,7 @@ void ShaderModule::material_create_info_ammend(GPUMaterial *gpumat, GPUCodegenOu
info.vertex_source_generated = vert_gen.str();
}
if (!is_compute) {
if (!is_compute && pipeline_type != MAT_PIPE_VOLUME_OCCUPANCY) {
frag_gen << ((codegen.material_functions) ? codegen.material_functions : "\n");
if (codegen.displacement) {