mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 04:47:53 +00:00
Merge pull request #195 from lioncash/control
vertex_shader: Fix control reaches end of function warning
This commit is contained in:
commit
8717c79fe4
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ union Instruction {
|
||||||
return BitFieldType::Value();
|
return BitFieldType::Value();
|
||||||
else if (GetRegisterType() == Temporary)
|
else if (GetRegisterType() == Temporary)
|
||||||
return BitFieldType::Value() - 0x10;
|
return BitFieldType::Value() - 0x10;
|
||||||
else if (GetRegisterType() == FloatUniform)
|
else // if (GetRegisterType() == FloatUniform)
|
||||||
return BitFieldType::Value() - 0x20;
|
return BitFieldType::Value() - 0x20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue