mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
rsx: use fragment_textures_count (#1948)
* rsx: use fragment_textures_count * Typo: unknow -> unknown
This commit is contained in:
parent
ceb4cb59ac
commit
e1ff3f4674
17 changed files with 60 additions and 60 deletions
|
@ -747,7 +747,7 @@ namespace rsx
|
|||
result.height = rsx::method_registers.shader_window_height();
|
||||
|
||||
std::array<texture_dimension_extended, 16> texture_dimensions;
|
||||
for (u32 i = 0; i < rsx::limits::textures_count; ++i)
|
||||
for (u32 i = 0; i < rsx::limits::fragment_textures_count; ++i)
|
||||
{
|
||||
if (!rsx::method_registers.fragment_textures[i].enabled())
|
||||
texture_dimensions[i] = texture_dimension_extended::texture_dimension_2d;
|
||||
|
@ -801,7 +801,7 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
for (u8 index = 0; index < rsx::limits::textures_count; ++index)
|
||||
for (u8 index = 0; index < rsx::limits::fragment_textures_count; ++index)
|
||||
{
|
||||
if (!rsx::method_registers.fragment_textures[index].enabled())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue