mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
rsx: Minor optimization; avoid preparing unused vertex streams
- Also discards unused program state variables
This commit is contained in:
parent
e7b9513d4a
commit
3e09b97f58
11 changed files with 75 additions and 81 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue