Skip to content

Commit

Permalink
rt(d3d9): fix vertex assignments accidentally searching fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed Aug 12, 2024
1 parent 1c6581d commit 5ef0055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librashader-runtime-d3d9/src/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5ef0055

Please sign in to comment.