mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
rsx: Propagate raster type of fbo sourced data throughout the pipeline.
- Tracks which kind of raster was done (Z-ordered vs linear) throughout the application. - This allows to identify if data is in the expected format or not.
This commit is contained in:
parent
107129f95a
commit
4df933275b
14 changed files with 73 additions and 25 deletions
|
@ -1119,10 +1119,10 @@ namespace rsx
|
|||
u32 minimum_color_pitch = 64u;
|
||||
u32 minimum_zeta_pitch = 64u;
|
||||
|
||||
switch (const auto mode = rsx::method_registers.surface_type())
|
||||
switch (layout.raster_type = rsx::method_registers.surface_type())
|
||||
{
|
||||
default:
|
||||
rsx_log.error("Unknown raster mode 0x%x", static_cast<u32>(mode));
|
||||
rsx_log.error("Unknown raster mode 0x%x", static_cast<u32>(layout.raster_type));
|
||||
[[fallthrough]];
|
||||
case rsx::surface_raster_type::linear:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue