Commit Graph

6912 Commits (cc73bad293cadb2323a821fa32bcd03c9d359e3e)
 

Author SHA1 Message Date
Subv dbfc39d214 GPU: Implement sampling multiple textures in the generated glsl shaders.
All tested games that use a single texture show no regression.

Only Texture2D textures are supported right now, each shader gets its own "tex_fs/vs/gs" sampler array to maintain independent textures between shader stages, the textures themselves are reused if possible.
7 years ago
mailwl 61fbf5c8e6 Stub IUser::AttachAvailabilityChangeEvent 7 years ago
greggameplayer be09dfeed9 nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524)
* add IoctlCommands with their params in nvidia_ctrl_gpu.h

* add function related to the changes done previously

* fix clang-format

* delete trailing whitespace

* correct mistake
7 years ago
Sebastian Valle 2f842a86fe
Merge pull request #529 from bunnei/am-nifm-stubs
Stub SetConnectionConfirmationOption, GetPseudoDeviceId
7 years ago
Sebastian Valle ce026332a5
Merge pull request #531 from bunnei/fix-shl
gl_shader_decompiler: Fix un/signed mismatch with SHL.
7 years ago
Sebastian Valle fa220dd709
Merge pull request #530 from bunnei/wrap-mirror
maxwell_to_gl: Implement WrapMode Mirror.
7 years ago
mailwl a776464a55 Remove unused header files 7 years ago
bunnei 9a85277d83
Merge pull request #527 from Subv/rgba32f_texcopy
GPU: Allow the usage of RGBA32_FLOAT and RGBA16_FLOAT in the texture copy engine.
7 years ago
bunnei 05dc93399b
Merge pull request #528 from Subv/rg11b10f
GPU: Implemented the R11FG11FB10F texture and rendertarget formats.
7 years ago
Hedges 39fb3e362c GDB Stub Improvements (#508)
* GDB Stub should work now.

* Applied clang-format.

* Replaced htonll with swap64.

* Tidy up.
7 years ago
bunnei 566f97b580 gl_shader_decompiler: Fix un/signed mismatch with SHL. 7 years ago
bunnei bf0543af23 maxwell_to_gl: Implement WrapMode Mirror. 7 years ago
bunnei c5684411a0 nifm: Stub out IRequest::SetConnectionConfirmationOption. 7 years ago
bunnei 2abe5e39fc am: Stub out IApplicationFunctions::GetPseudoDeviceId. 7 years ago
Subv adf47cd59a GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine. 7 years ago
Subv c531a92eda GPU: Implemented the R11FG11FB10F texture and rendertarget formats. 7 years ago
Subv 14afc704d4 GPU: Fixed the compression factor for RGBA16F textures.
They're not compressed.
7 years ago
Subv 8d70d1ea45 GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine. 7 years ago
bunnei 5fb99e6a16
Merge pull request #516 from Subv/f2i_r
GPU: Implemented the F2I_R shader instruction.
7 years ago
Michał Janiszewski 5c3d5d0849 Use Ninja for MSVC AppVeyor builds 7 years ago
Michał Janiszewski 79de0f8fe8 Drop /std:c++latest from MSVC command line
CMake already sets it to version 17 in all cases
7 years ago
James Rowe 6e8e1a4110
Merge pull request #523 from yuzu-emu/revert-507-3616
Revert "Port citra #3616"
7 years ago
bunnei 9232fbdf34
Revert "Port citra #3616" 7 years ago
bunnei 38eb33f150
Merge pull request #521 from Subv/bra
GPU: Corrected the branch targets for the shader bra instruction.
7 years ago
bunnei b54a72afc0
Merge pull request #520 from bunnei/shader-shl
gl_shader_decompiler: Implement SHL instruction.
7 years ago
mailwl 62cd19e4ae Small fixes 7 years ago
mailwl 7e3d746b06 Service/MM: add service and stub some functions 7 years ago
Subv e7dfcdde74 GPU: Corrected the branch targets for the shader bra instruction. 7 years ago
Subv 4b89348c00 GPU: Implemented the F2I_R shader instruction. 7 years ago
bunnei 8c99dd055c
Merge pull request #518 from Subv/incomplete_shaders
GPU: Implemented predicated exit instructions in the shader programs.
7 years ago
bunnei 799e632ccb gl_shader_decompiler: Fix typo with ISCADD instruction. 7 years ago
bunnei c23c30c76f gl_shader_decompiler: Implement SHL instruction. 7 years ago
bunnei 00749f5ab3
Merge pull request #519 from bunnei/pred-not-equal
gl_shader_decompiler: Implement PredCondition::NotEqual.
7 years ago
bunnei 6ea1576513 gl_shader_decompiler: Implement PredCondition::NotEqual. 7 years ago
bunnei 81a16c073a
Merge pull request #517 from Subv/iscadd
GPU: Implement the ISCADD shader instruction.
7 years ago
Subv 23b1e6eded GPU: Implement the ISCADD shader instructions. 7 years ago
Subv 438a9b70cc GPU: Added decodings for the ISCADD instructions. 7 years ago
bunnei e8bfff7b4b
Merge pull request #514 from Subv/lop32i
GPU: Implemented the LOP32I instruction.
7 years ago
bunnei f564822e78
Merge pull request #510 from Subv/isetp
GPU: Implemented the ISETP_R and ISETP_C instructions
7 years ago
Subv 6cf6fa2842 GPU: Implement predicated exit instructions in the shader programs. 7 years ago
Subv d27279092f GPU: Take into account predicated exits when performing shader control flow analysis. 7 years ago
bunnei 37fd4e6d9b
Merge pull request #512 from Subv/fset
GPU: Corrected the FSET and I2F instructions.
7 years ago
bunnei cdd92dc692
Merge pull request #501 from Subv/shader_bra
GPU: Partially implemented the bra shader instruction
7 years ago
bunnei 38d25a4cb2
Merge pull request #515 from Subv/viewport_fix
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
7 years ago
Subv 2933521a08 GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f. 7 years ago
Subv f6679ce422 GPU: Corrected the I2F_R implementation. 7 years ago
Subv 5d55403f94 GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
This is how nouveau calculates the viewport width and height. For some reason some games set 0xFFFF in the VIEWPORT_HORIZ and VIEWPORT_VERT registers, maybe those are a misnomer and actually refer to something else?
7 years ago
bunnei 0a0233f39f
Merge pull request #490 from BreadFish64/extension-check
Add checks for OpenGL extension support
7 years ago
bunnei 9936d1b9e2
Merge pull request #513 from Subv/cache_alignment
GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface.
7 years ago
greggameplayer 4fad069870 Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params (#511)
* Add some IoctlCommand with their params to nvhost_gpu

* fix clang-format

* delete trailing whitespace

* fix some clang-format

* delete one other trailing whitespace

* last clang-format fix
7 years ago