mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
gl/vk: Bug fixes and improvements (#2206)
* gl: Only bind attrib textures on thread startup * gl: Persistent mapped buffers * gl: Fix emulated primitives in an inlined array * gl: Do not re-update program information every draw call * gl/vk: s1 type is signed normalized not unsigned normalized * gl/rsx: Allow disabling of persistent buffers for debugging gl: Large heap size is more practical gl: Fix a bug with legacy opengl buffers * gl/rsx: Allow emulation of unsupported attribute formats * gl: Fix typos and remove dprints gl: cleanup debug prints * ui: Move the GL legacy buffer toggle to the left pane * vk/gl: Fix cmp type, its range is [-1,1] not [0,1] SNORM_INT
This commit is contained in:
parent
8454949eea
commit
2c803dbe66
11 changed files with 378 additions and 143 deletions
|
@ -27,6 +27,7 @@ cfg::bool_entry g_cfg_rsx_log_programs(cfg::root.video, "Log shader programs");
|
|||
cfg::bool_entry g_cfg_rsx_vsync(cfg::root.video, "VSync");
|
||||
cfg::bool_entry g_cfg_rsx_debug_output(cfg::root.video, "Debug output");
|
||||
cfg::bool_entry g_cfg_rsx_overlay(cfg::root.video, "Debug overlay");
|
||||
cfg::bool_entry g_cfg_rsx_gl_legacy_buffers(cfg::root.video, "Use Legacy OpenGL Buffers (Debug)");
|
||||
|
||||
bool user_asked_for_frame_capture = false;
|
||||
rsx::frame_capture_data frame_debug;
|
||||
|
@ -799,7 +800,7 @@ namespace rsx
|
|||
rsx::method_registers.vertex_arrays_info[index].frequency(),
|
||||
!!((modulo_mask >> index) & 0x1),
|
||||
true,
|
||||
is_int_type(rsx::method_registers.vertex_arrays_info[index].type())});
|
||||
is_int_type(rsx::method_registers.vertex_arrays_info[index].type()), 0});
|
||||
}
|
||||
else if (rsx::method_registers.register_vertex_info[index].size > 0)
|
||||
{
|
||||
|
@ -809,7 +810,7 @@ namespace rsx
|
|||
rsx::method_registers.register_vertex_info[index].frequency,
|
||||
!!((modulo_mask >> index) & 0x1),
|
||||
false,
|
||||
is_int_type(rsx::method_registers.vertex_arrays_info[index].type())});
|
||||
is_int_type(rsx::method_registers.vertex_arrays_info[index].type()), 0});
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue