From 5ef0055e057256a7cdb90e9807758d85754c205f Mon Sep 17 00:00:00 2001 From: chyyran Date: Mon, 12 Aug 2024 01:37:18 -0400 Subject: [PATCH] rt(d3d9): fix vertex assignments accidentally searching fragment --- librashader-runtime-d3d9/src/binding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librashader-runtime-d3d9/src/binding.rs b/librashader-runtime-d3d9/src/binding.rs index 71698cb..10ee81a 100644 --- a/librashader-runtime-d3d9/src/binding.rs +++ b/librashader-runtime-d3d9/src/binding.rs @@ -62,7 +62,7 @@ impl ConstantRegister { .iter() .find_map(|(mangled_name, register)| { if context - .fragment_buffers + .vertex_buffers .contains_uniform(uniform_name, mangled_name) { Some(register)