From 96c64d113e5daa98aa815007e47541574b6969b5 Mon Sep 17 00:00:00 2001 From: nmzik Date: Mon, 31 Aug 2026 10:30:58 +0400 Subject: [PATCH] shader: trust recompiler stage metadata --- src/graphics/shader/recompiler/ShaderRecompiler.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/graphics/shader/recompiler/ShaderRecompiler.cpp b/src/graphics/shader/recompiler/ShaderRecompiler.cpp index 44c306002..5fee8e66d 100644 --- a/src/graphics/shader/recompiler/ShaderRecompiler.cpp +++ b/src/graphics/shader/recompiler/ShaderRecompiler.cpp @@ -546,21 +546,12 @@ CompileResult Recompile(std::span code, const CompileOptions& op switch (options.stage) { case ShaderType::Vertex: vertex = options.input_info.vertex; - if (vertex == nullptr) { - EXIT("vertex shader recompilation has no input metadata\n"); - } break; case ShaderType::Pixel: pixel = options.input_info.pixel; - if (pixel == nullptr) { - EXIT("pixel shader recompilation has no input metadata\n"); - } break; case ShaderType::Compute: compute = options.input_info.compute; - if (compute == nullptr) { - EXIT("compute shader recompilation has no input metadata\n"); - } break; default: break; }