Fernando Sahmkow
5b5e60ffec
GPU_Async: Correct fences, display events and more.
This commit uses guest fences on vSync event instead of an articial fake
fence we had.
It also corrects to keep signaling display events while loading the game
as the OS is suppose to send buffers to vSync during that time.
6 years ago
Fernando Sahmkow
ab47a660c8
Texture_Cache: Blit Deduction corrections and simplifications.
6 years ago
Fernando Sahmkow
2036504a82
TextureCache: Add the ability to deduce if two textures are depth on blit.
6 years ago
Fernando Sahmkow
e6eae4b815
Shader_ir: Address feedback
6 years ago
Fernando Sahmkow
3c09d9abe6
Shader_Ir: Address Feedback and clang format.
6 years ago
Fernando Sahmkow
507a9c6a40
vk_shader_decompiler: Correct Branches inside conditionals.
6 years ago
Fernando Sahmkow
000ad558dd
vk_shader_decompiler: Clean code and be const correct.
6 years ago
Fernando Sahmkow
7c756baa77
Shader_IR: clean up AST handling and add documentation.
6 years ago
Fernando Sahmkow
5ea740beb5
Shader_IR: Correct OutwardMoves for Ifs
6 years ago
Fernando Sahmkow
100a4bd988
vk_shader_compiler: Don't enclose branches with if(true) to avoid crashing AMD
6 years ago
Fernando Sahmkow
189a50bc2a
gl_shader_decompiler: Refactor and address feedback.
6 years ago
Fernando Sahmkow
b3c46d6948
Shader_IR: corrections and clang-format
6 years ago
Fernando Sahmkow
466cd52ad4
vk_shader_compiler: Correct SPIR-V AST Decompiling
6 years ago
Fernando Sahmkow
2e9a810423
Shader_IR: allow else derivation to be optional.
6 years ago
Fernando Sahmkow
ca9901867e
vk_shader_compiler: Implement the decompiler in SPIR-V
6 years ago
Fernando Sahmkow
0366c18d87
Shader_IR: mark labels as unused for partial decompile.
6 years ago
Fernando Sahmkow
47e4f6a52c
Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes.
6 years ago
Fernando Sahmkow
38fc995f6c
gl_shader_decompiler: Implement AST decompiling
7 years ago
Fernando Sahmkow
6fdd501113
shader_ir: Declare Manager and pass it to appropiate programs.
7 years ago
Fernando Sahmkow
8be6e1c522
shader_ir: Corrections to outward movements and misc stuffs
7 years ago
Fernando Sahmkow
4fde66e609
shader_ir: Add basic goto elimination
7 years ago
Fernando Sahmkow
c17953978b
shader_ir: Initial Decompile Setup
7 years ago
ReinUsesLisp
69c806feb6
gl_rasterizer: Fix polygon offset units
For some reason hardware divides polygon offset units by two. This is
visible since drivers multiply the application requested polygon offset
by two.
6 years ago
ReinUsesLisp
f926230ab1
gl_shader_decompiler: Add tailing return for HUnpack2
6 years ago
ReinUsesLisp
25bfaffdff
gl_shader_decompiler: Fix clang build issues
6 years ago
Fernando Sahmkow
68f5aff64f
Maxwell3D: Corrections and refactors to MME instance refactor
6 years ago
FearlessTobi
01fc969a5f
Fix clang-format
6 years ago
FearlessTobi
366e900376
fermi_2d: Lower surface copy log severity to DEBUG
6 years ago
FearlessTobi
55d272efe6
video_core: Implement RGBX16F PixelFormat
6 years ago
ReinUsesLisp
44000971e2
gl_shader_decompiler: Use uint for images and fix SUATOM
In the process remove implementation of SUATOM.MIN and SUATOM.MAX as
these require a distinction between U32 and S32. These have to be
implemented with imageCompSwap loop.
6 years ago
ReinUsesLisp
675f23aedc
shader/image: Implement SULD and remove irrelevant code
* Implement SULD as float.
* Remove conditional declaration of GL_ARB_shader_viewport_layer_array.
6 years ago
ReinUsesLisp
4de0f1e1c8
shader_bytecode: Add SULD encoding
6 years ago
Fernando Sahmkow
527b841c15
Shader_IR: ICMP corrections and fixes
6 years ago
David Marcec
01a4afee42
Mark DrawArrays as LOG_TRACE
There's no reason to clog logs with DrawArray.
6 years ago
Fernando Sahmkow
433e764bb0
Rasterizer: Correct introduced bug where a conditional render wouldn't stop a draw call from executing
6 years ago
Fernando Sahmkow
4b81d19a1a
Shader_IR: Implement ICMP.
6 years ago
Fernando Sahmkow
7761e44d18
Rasterizer: Refactor and simplify DrawBatch Interface.
6 years ago
Fernando Sahmkow
d2ea592ddb
Rasterizer: Address Feedback and conscerns.
6 years ago
Fernando Sahmkow
c17655ce74
Rasterizer: Refactor draw calls, remove deadcode and clean up.
6 years ago
Fernando Sahmkow
7606da5611
VideoCore: Corrections to the MME Inliner and removal of hacky instance management.
6 years ago
Fernando Sahmkow
ba02d564f8
Video Core: initial Implementation of InstanceDraw Packaging
6 years ago
ReinUsesLisp
0526bf1895
shader_ir/warp: Implement SHFL
6 years ago
ReinUsesLisp
2dd6411753
maxwell_to_gl: Fix mipmap filtering
OpenGL texture filters follow GL_<texture_filter>_MIPMAP_<mipmap_filter>
but we were using them in the opposite way.
6 years ago
ReinUsesLisp
af809b491e
gl_rasterizer: Remove unused code paths from ConfigureFramebuffers
6 years ago
Rodrigo Locatti
193bfefce4
maxwell_3d: Update firmware 4 call stub commentary
6 years ago
ReinUsesLisp
01d96e1136
vk_device: Add miscellaneous features and minor style changes
* Increase minimum Vulkan requirements
* Require VK_EXT_vertex_attribute_divisor
* Require depthClamp, samplerAnisotropy and largePoints features
* Search and expose VK_KHR_uniform_buffer_standard_layout
* Search and expose VK_EXT_index_type_uint8
* Search and expose native float16 arithmetics
* Track current driver with VK_KHR_driver_properties
* Query and expose SSBO alignment
* Query more image formats
* Improve logging overall
* Minor style changes
* Minor rephrasing of commentaries
6 years ago
ReinUsesLisp
99e23bd0fd
video_core/surface: Add function to detect sRGB surfaces
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB
surfaces when a backend can target both native and converted ASTC.
6 years ago
ReinUsesLisp
6b997c8f7f
renderer_opengl: Fix rebase mistake
6 years ago
ReinUsesLisp
36abf67e79
shader/image: Implement SUATOM and fix SUST
7 years ago
Fernando Sahmkow
e60d281a01
gl_rasterizer: Correct sRGB Fix regression
6 years ago