rsx: Minor optimization; avoid preparing unused vertex streams

- Also discards unused program state variables
This commit is contained in:
kd-11 2021-09-15 20:46:03 +03:00 committed by kd-11
parent e7b9513d4a
commit 3e09b97f58
11 changed files with 75 additions and 81 deletions

View file

@ -25,6 +25,8 @@ namespace program_hash_util
std::bitset<rsx::max_vertex_program_instructions> instruction_mask;
u32 ucode_length;
u32 referenced_textures_mask;
u16 referenced_inputs_mask;
u16 reserved;
};
static usz get_vertex_program_ucode_hash(const RSXVertexProgram &program);