mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
rsx: Default initialize vertex program fields
- Fixes a crash when RSXVertexProgram is default-initialized. This probably also fixes a whole class of crashes that occur when shader interpreter is in use since that pipeline uses a default-initialized stub.
This commit is contained in:
parent
dce0abc8b9
commit
a635e24fc2
1 changed files with 4 additions and 4 deletions
|
@ -223,10 +223,10 @@ struct RSXVertexProgram
|
|||
{
|
||||
std::vector<u32> data;
|
||||
rsx::vertex_program_texture_state texture_state;
|
||||
u32 ctrl;
|
||||
u32 output_mask;
|
||||
u32 base_address;
|
||||
u32 entry;
|
||||
u32 ctrl = 0;
|
||||
u32 output_mask = 0;
|
||||
u32 base_address = 0;
|
||||
u32 entry = 0;
|
||||
std::bitset<rsx::max_vertex_program_instructions> instruction_mask;
|
||||
std::set<u32> jump_table;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue