mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
Merge pull request #1149 from lioncash/paren
shader_bytecode: Parenthesize conditional expression within GetTextureType()
This commit is contained in:
commit
a769d8c913
|
@ -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