Subv
29bddf03f7
GPU: Perform negation after absolute value in the float shader instructions.
8 years ago
Jules Blok
5614c1329e
svc: Add a stub for UserExceptionContextAddr.
8 years ago
Jules Blok
55e69c1cf2
gl_rasterizer: Get loose on independent blending.
8 years ago
bunnei
9feb7f7a63
gl_rasterizer: Implement texture format ASTC_2D_4X4.
8 years ago
bunnei
5fb04f7c6d
gl_rasterizer_cache: Loosen things up a bit.
8 years ago
bunnei
a72b4c358d
gl_shader_decompiler: Implement LOP instructions.
8 years ago
bunnei
b071232a75
gl_shader_decompiler: Refactor LOP32I instruction a bit in support of LOP.
8 years ago
bunnei
dc1808fa4a
gl_shader_decompiler: Implement integer size conversions for I2I/I2F/F2I.
8 years ago
bunnei
bb1e655f2d
gl_shader_gen: Set position.w to 1.
8 years ago
bunnei
fb8823d10d
gl_shader_decompiler: Implement LOP32I LogicOperation PassB.
8 years ago
Zach Hilman
044ed8717e
Bug fixes, testing, and review changes
8 years ago
Zach Hilman
ad8d79aade
Add 'Load Folder' menu option
8 years ago
Zach Hilman
ba498ab930
Add support for main files in file picker
8 years ago
Zach Hilman
ea7301923c
Recognize main files in game list
8 years ago
Subv
de53649e61
Qt: Removed the Registers widget.
It was crashing and nobody actually uses this.
8 years ago
Subv
1a0c6910ce
GPU: Implemented the iadd32i shader instruction.
8 years ago
Subv
df214db493
GPU: Partially implemented the Maxwell DMA engine.
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
8 years ago
bunnei
37110bbc02
gl_shader_decompiler: Implement saturate for float instructions.
8 years ago
shinyquagsire23
a02f67160c
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
8 years ago
Subv
cf9e8fbc13
GPU: Convert the gl_InstanceId and gl_VertexID variables to floats when reading from them.
This corrects the invalid position values in some games when doing attribute-less rendering.
8 years ago
Subv
297a99944e
GPU: Implement the iset family of shader instructions.
8 years ago
Subv
f387d11882
GPU: Added decodings for the ISET family of instructions.
8 years ago
bunnei
9c12d989c3
gl_shader_decompiler: Implement SHR instruction.
8 years ago
Subv
6d7be6fc08
GPU: Stub the SSY shader instruction.
This instruction tells the GPU where the flow reconverges in a non-uniform control flow scenario, we can ignore this when generating GLSL code.
8 years ago
bunnei
179623a99c
gl_shader_decompiler: Implement IADD instruction.
8 years ago
bunnei
54408c16a8
gl_shader_decompiler: Add missing asserts for saturate_a instructions.
8 years ago
Subv
158cd05fd3
GPU: Synchronize the blend state on every draw call.
Only independent blending on render target 0 is implemented for now.
This fixes the elongated squids in Splatoon 2's boot screen.
8 years ago
Subv
3e48928bf2
GPU: Added registers for normal and independent blending.
8 years ago
Subv
5f3afad871
GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures.
This fixes issues with retrieving non-block-aligned tiled compressed textures from the cache.
8 years ago
Subv
b834631438
Rasterizer: Flush the written region when writing shader uniform data before copying it to the uniform buffers.
This fixes the flip_viewport uniform having invalid values when drawing.
8 years ago
Subv
f84d419248
GLRenderer: Write the shader stage configuration UBO data *before* copying it to the GPU.
This should fix the bug with the vs_config UBO being uninitialized during shader execution.
8 years ago
mailwl
b70838ca60
Common/string_util: add StringFromBuffer function
convert input buffer (std::vector<u8>) to string, stripping zero chars
8 years ago
bunnei
221a29f0fd
gl_shader_decompiler: Implement BFE_IMM instruction.
8 years ago
Subv
f5ef6f5e8e
GLCache: Use the full uncompressed size when blitting from one texture to another.
This avoids the problem of only copying a tiny piece of the textures when they are compressed.
8 years ago
Subv
6c016a6844
GLCache: Simplify the logic to copy from one texture to another in BlitTextures.
We now use glCopyImageSubData, this should avoid errors with trying to attach a compressed texture as a framebuffer's color attachment and then blitting to it.
Maybe in the future we can change this to glCopyTextureSubImage which only requires GL_ARB_direct_state_access.
8 years ago
bunnei
1586ee87ae
gl_shader_decompiler: F2F: Implement rounding modes.
8 years ago
bunnei
ec2cad04ef
gl_shader_decompiler: Remove some attribute stuff that has nothing to do with TEX/TEXS.
8 years ago
bunnei
8160467a6d
shader_bytecode: Add instruction decodings for BFE, IMNMX, and XMAD.
8 years ago
bunnei
16f739f695
gl_shader_decompiler: Implement ISETP_IMM instruction.
8 years ago
Subv
d97b2711ac
GPU: Support changing the texture swizzles for Maxwell textures.
8 years ago
Subv
23f87f342b
GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit.
8 years ago
bunnei
8ff7558d0c
gl_shader_decompiler: Implement LD_C instruction.
8 years ago
bunnei
802a4febed
gl_shader_gen: Add uniform handling for indirect const buffer access.
8 years ago
bunnei
dbdf703c20
gl_shader_decompiler: Refactor uniform handling to allow different decodings.
8 years ago
Subv
411f04b5a4
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.
8 years ago
mailwl
829613e51c
Stub IUser::AttachAvailabilityChangeEvent
8 years ago
greggameplayer
186abe2652
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
8 years ago
mailwl
9071812e94
Remove unused header files
8 years ago
Hedges
6c4b650ae7
GDB Stub Improvements ( #508 )
* GDB Stub should work now.
* Applied clang-format.
* Replaced htonll with swap64.
* Tidy up.
8 years ago
bunnei
3ab3dd166a
gl_shader_decompiler: Fix un/signed mismatch with SHL.
8 years ago