From 181123ea082796429e50b8395eb0c97dcf7a46c0 Mon Sep 17 00:00:00 2001 From: nmzik Date: Sun, 4 Oct 2026 05:07:02 +0400 Subject: [PATCH] tests: exercise full graphics binding preparation before scratch checks --- tests/ShaderRecompilerComputeTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ShaderRecompilerComputeTests.cpp b/tests/ShaderRecompilerComputeTests.cpp index 0cee638d8..fb42553b1 100644 --- a/tests/ShaderRecompilerComputeTests.cpp +++ b/tests/ShaderRecompilerComputeTests.cpp @@ -2132,6 +2132,8 @@ public: pixel_snapshot.user_data = {0x77777777u, 0x88888888u}; executor.PrepareBindings(vertex_runtime, vertex); executor.PrepareBindings(pixel_runtime, pixel); + std::array stages{&vertex, &pixel}; + RenderExecutorTestAccess::PrepareGraphicsBindings(executor, stages, {}); Require(name, "prepared binding scratch", vertex.shader_data.data() == vertex_storage && pixel.shader_data.data() == pixel_storage &&