mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
rsx: Reset vertex program/constants at each boot
This commit is contained in:
parent
c2c5005278
commit
72c0aed4c1
@ -1586,6 +1586,8 @@ namespace rsx
|
||||
{
|
||||
// Reset all regsiters
|
||||
registers.fill(0);
|
||||
transform_program.fill(0);
|
||||
transform_constants = {};
|
||||
|
||||
// Special values set at initialization, these are not set by a context reset
|
||||
registers[NV4097_SET_SHADER_PROGRAM] = (0 << 2) | (CELL_GCM_LOCATION_LOCAL + 1);
|
||||
|
@ -541,8 +541,6 @@ namespace rsx
|
||||
vertex_textures(fill_array<vertex_texture>(registers, std::make_index_sequence<4>())),
|
||||
vertex_arrays_info(fill_array<data_array_format_info>(registers, std::make_index_sequence<16>()))
|
||||
{
|
||||
//NOTE: Transform constants persist through a context reset (NPEB00913)
|
||||
transform_constants = {};
|
||||
}
|
||||
|
||||
~rsx_state() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user