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:
kd-11 2016-09-29 09:54:32 +03:00 committed by raven02
parent 9abb908226
commit 5430e1d310
11 changed files with 96 additions and 2 deletions

View file

@ -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)