Fernando Sahmkow
7b55e1c0b1
Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes.
6 years ago
Fernando Sahmkow
5d3c5df7f4
gl_shader_decompiler: Implement AST decompiling
7 years ago
Fernando Sahmkow
f1ed22419c
shader_ir: Declare Manager and pass it to appropiate programs.
7 years ago
Fernando Sahmkow
9f61500df1
shader_ir: Corrections to outward movements and misc stuffs
7 years ago
Fernando Sahmkow
9581919b87
shader_ir: Add basic goto elimination
7 years ago
Fernando Sahmkow
a3d04b45a9
shader_ir: Initial Decompile Setup
7 years ago
ReinUsesLisp
1b0470b913
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
6b66665ad2
gl_shader_decompiler: Add tailing return for HUnpack2
6 years ago
ReinUsesLisp
3673f32b82
gl_shader_decompiler: Fix clang build issues
6 years ago
Fernando Sahmkow
d53d764965
Maxwell3D: Corrections and refactors to MME instance refactor
6 years ago
FearlessTobi
97f509e9d4
Fix clang-format
6 years ago
FearlessTobi
4c1c09c8d8
fermi_2d: Lower surface copy log severity to DEBUG
6 years ago
FearlessTobi
99b280bbf7
video_core: Implement RGBX16F PixelFormat
6 years ago
ReinUsesLisp
79a7463f4c
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
331d140bb4
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
dfe69a7f19
shader_bytecode: Add SULD encoding
6 years ago
Fernando Sahmkow
f02b9d37f0
Shader_IR: ICMP corrections and fixes
6 years ago
David Marcec
5bcd512c3c
Mark DrawArrays as LOG_TRACE
There's no reason to clog logs with DrawArray.
6 years ago
Fernando Sahmkow
5034835feb
Rasterizer: Correct introduced bug where a conditional render wouldn't stop a draw call from executing
6 years ago
Fernando Sahmkow
01b8a78a8a
Shader_IR: Implement ICMP.
6 years ago
Fernando Sahmkow
ab61f800b6
Rasterizer: Refactor and simplify DrawBatch Interface.
6 years ago
Fernando Sahmkow
e3fdcdf7f0
Rasterizer: Address Feedback and conscerns.
6 years ago
Fernando Sahmkow
2b5f0e2616
Rasterizer: Refactor draw calls, remove deadcode and clean up.
6 years ago
Fernando Sahmkow
ae03b1ebc7
VideoCore: Corrections to the MME Inliner and removal of hacky instance management.
6 years ago
Fernando Sahmkow
b61203a547
Video Core: initial Implementation of InstanceDraw Packaging
6 years ago
ReinUsesLisp
42815d1d24
shader_ir/warp: Implement SHFL
6 years ago
ReinUsesLisp
61eb6e3e00
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
64949b515e
gl_rasterizer: Remove unused code paths from ConfigureFramebuffers
6 years ago
Rodrigo Locatti
a5f0cbb0f1
maxwell_3d: Update firmware 4 call stub commentary
6 years ago
ReinUsesLisp
6c7f91a5a8
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
2727ebd801
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
8718c70d99
renderer_opengl: Fix rebase mistake
6 years ago
ReinUsesLisp
2e6bebb3d2
shader/image: Implement SUATOM and fix SUST
7 years ago
Fernando Sahmkow
997f808f69
gl_rasterizer: Correct sRGB Fix regression
6 years ago
ReinUsesLisp
3e5e983799
renderer_opengl: Fix sRGB blits
Removes the sRGB hack of tracking if a frame used an sRGB rendertarget
to apply at least once to blit the final texture as sRGB. Instead of
doing this apply sRGB if the presented image has sRGB.
Also enable sRGB by default on Maxwell3D registers as some games seem to
assume this.
6 years ago
ReinUsesLisp
38a1ebadf3
gl_shader_decompiler: Avoid writing output attribute when unimplemented
6 years ago
ReinUsesLisp
e2aad88d51
gl_shader_decompiler: Keep track of written images and mark them as modified
6 years ago
ReinUsesLisp
953a673777
texture_cache: Minor changes
6 years ago
ReinUsesLisp
3dc2c278b2
gl_rasterizer: Apply textures and images state
7 years ago
ReinUsesLisp
a2f424bc01
gl_rasterizer: Add samplers to compute dispatches
7 years ago
ReinUsesLisp
58135dec73
gl_rasterizer: Minor code changes
7 years ago
ReinUsesLisp
8fdc04388f
gl_state: Split textures and samplers into two arrays
7 years ago
ReinUsesLisp
0c8851163d
gl_rasterizer: Implement image bindings
7 years ago
ReinUsesLisp
714bd740bb
gl_state: Add support for glBindImageTextures
7 years ago
ReinUsesLisp
67be7aff62
texture_cache: Pass TIC to texture cache
7 years ago
ReinUsesLisp
9fb31b1b23
kepler_compute: Implement texture queries
7 years ago
ReinUsesLisp
0ea5b1a339
gl_rasterizer: Split SetupTextures
7 years ago
ReinUsesLisp
a942ad52ca
gl_shader_decompiler: Implement shared memory
6 years ago
ReinUsesLisp
b66b14a64f
shader_ir: Implement LD_S
Loads from shared memory.
7 years ago
ReinUsesLisp
df0203dd87
shader_ir: Implement ST_S
This instruction writes to a memory buffer shared with threads within
the same work group. It is known as "shared" memory in GLSL.
7 years ago