mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
shader_bytecode: Parenthesize conditional expression within GetTextureType()
Resolves a -Wlogical-op-parentheses warning.
This commit is contained in:
parent
c95c4442e9
commit
a0e2bd85a5
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ union Instruction {
|
||||||
return TextureType::Texture1D;
|
return TextureType::Texture1D;
|
||||||
}
|
}
|
||||||
if (texture_info == 2 || texture_info == 8 || texture_info == 12 ||
|
if (texture_info == 2 || texture_info == 8 || texture_info == 12 ||
|
||||||
texture_info >= 4 && texture_info <= 6) {
|
(texture_info >= 4 && texture_info <= 6)) {
|
||||||
return TextureType::Texture2D;
|
return TextureType::Texture2D;
|
||||||
}
|
}
|
||||||
if (texture_info == 7) {
|
if (texture_info == 7) {
|
||||||
|
|
Loading…
Reference in a new issue