mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
rsx/gl/vk/dx12: Add emulated texture fetch for depth read (#2173)
* rsx/gl/vk/dx12: Add emulated texture fetch for depth read gl/vk/dx12: Simplify reinterpretation equation * gl: Remove unnecessary re-swizzle * glsl: explicitly cast uint to float
This commit is contained in:
parent
9abb908226
commit
5430e1d310
11 changed files with 96 additions and 2 deletions
|
@ -828,6 +828,8 @@ namespace rsx
|
|||
result.origin_mode = rsx::method_registers.shader_window_origin();
|
||||
result.pixel_center_mode = rsx::method_registers.shader_window_pixel();
|
||||
result.height = rsx::method_registers.shader_window_height();
|
||||
result.redirected_textures = 0;
|
||||
|
||||
|
||||
std::array<texture_dimension_extended, 16> texture_dimensions;
|
||||
for (u32 i = 0; i < rsx::limits::fragment_textures_count; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue