mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-23 16:06:30 +00:00
Changes requested by reviewer meower
This commit is contained in:
@@ -212,12 +212,12 @@ private:
|
||||
Kernel::KEvent* unknown_event;
|
||||
|
||||
// ZBC Tables
|
||||
static constexpr u32 zbc_table_size = 15u;
|
||||
static constexpr u32 ZBC_TABLE_SIZE = 15u;
|
||||
static constexpr u32 supported_types = 2u;
|
||||
|
||||
std::mutex zbc_mutex{};
|
||||
std::array<ZbcColorEntry, zbc_table_size> zbc_colors{};
|
||||
std::array<ZbcDepthEntry, zbc_table_size> zbc_depths{};
|
||||
std::array<ZbcColorEntry, ZBC_TABLE_SIZE> zbc_colors{};
|
||||
std::array<ZbcDepthEntry, ZBC_TABLE_SIZE> zbc_depths{};
|
||||
u32 zbc_used_color_entries{};
|
||||
u32 zbc_used_depth_entries{};
|
||||
};
|
||||
|
||||
@@ -472,8 +472,7 @@ void ConvertLegacyToGeneric(IR::Program& program, const Shader::RuntimeInfo& run
|
||||
program.info.legacy_stores_mapping =
|
||||
GenerateLegacyToGenericMappings(stores, unused_output_generics, {});
|
||||
for (IR::Block* const block : program.post_order_blocks) {
|
||||
auto it{block->begin()};
|
||||
while (it != block->end()) {
|
||||
for (auto it = block->begin(); it != block->end();) {
|
||||
IR::Inst& inst{*it};
|
||||
if (inst.GetOpcode() != IR::Opcode::SetAttribute ||
|
||||
!IsLegacyAttribute(inst.Arg(0).Attribute())) {
|
||||
|
||||
Reference in New Issue
Block a user