Subv
aa4d2cac1b
Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.
This should help a bit with GPU performance once we're GPU-bound.
8 years ago
bunnei
ede185a446
Merge pull request #550 from Subv/ssy
GPU: Stub the SSY shader instruction.
8 years ago
bunnei
5f2f250915
Merge pull request #551 from bunnei/shr
gl_shader_decompiler: Implement SHR instruction.
8 years ago
bunnei
c8af82f806
Merge pull request #549 from bunnei/iadd
gl_shader_decompiler: Implement IADD instruction.
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
bunnei
ee85afab8c
Merge pull request #505 from janisozaur/ccache-travis
Enable ccache usage on Travis
8 years ago
bunnei
7ff5d3ef92
Merge pull request #533 from mailwl/array-to-buffer
Common/string_util: add StringFromBuffer() function
8 years ago
bunnei
4b2df1fe48
Merge pull request #548 from Subv/blend
GPU: Fixed ghosting when drawing with blending disabled
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
bunnei
0aac4935af
Merge pull request #547 from Subv/compressed_alignment
GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures.
8 years ago
bunnei
34cfa0246f
Merge pull request #546 from Subv/flush_ubo_buffer
Rasterizer: Flush the written region when writing shader uniform data before copying it to the uniform buffers.
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
Michał Janiszewski
66c64686cc
Cache ccache on Travis
8 years ago
Michał Janiszewski
9ccc666487
Add ccache support for macOS on Travis
8 years ago
Michał Janiszewski
25e8818a45
Add ccache support for Linux on Travis
8 years ago
Michał Janiszewski
0d523a0fa6
Install cmake from repositories for Ubuntu
Ubuntu 18.04 already has cmake 3.10.2
8 years ago
bunnei
0a5dac0728
Merge pull request #478 from janisozaur/patch-1
Use Ninja for Travis builds
8 years ago
bunnei
48cb11e6b7
Merge pull request #543 from Subv/uniforms
GLRenderer: Write the shader stage configuration UBO data *before* copying it to the GPU.
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
5d0f6acd9b
Merge pull request #522 from mailwl/mm-u
Service/MM: add service and stub some functions
8 years ago
bunnei
c153e1a326
Merge pull request #542 from bunnei/bfe_imm
gl_shader_decompiler: Implement BFE_IMM instruction.
8 years ago
bunnei
3a347d9be8
Merge pull request #541 from Subv/blittextures
GLCache: Fixed copying compressed textures in the rasterizer cache.
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
80cdb05930
Merge pull request #539 from bunnei/f2f-rounding
gl_shader_decompiler: F2F: Implement rounding modes.
8 years ago
bunnei
dc43864d0a
Merge pull request #503 from mailwl/nfp-stubs
Service/nfp:user : stub some functions.
8 years ago
bunnei
1586ee87ae
gl_shader_decompiler: F2F: Implement rounding modes.
8 years ago
bunnei
738888debe
Merge pull request #537 from bunnei/misc-shader
gl_shader_decompiler: Additional decodings, remove unused stuff from TEX
8 years ago
bunnei
b315b20e8d
Merge pull request #535 from Subv/gpu_swizzle
GPU: Support changing the texture swizzles for Maxwell textures.
8 years ago
bunnei
810f672078
Merge pull request #536 from bunnei/isetp_imm
gl_shader_decompiler: Implement ISETP_IMM instruction.
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
1a47f755f3
Merge pull request #534 from Subv/multitexturing
GPU: Implement sampling multiple textures in the generated glsl shaders.
8 years ago
bunnei
b001aeb616
Merge pull request #532 from bunnei/ld_c
gl_shader_decompiler: Implement LD_C instruction.
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