Fernando Sahmkow
02be88825a
Apply Position Y Direction
7 years ago
Fernando Sahmkow
54ede7cc0a
make ReadBlockunsafe and WriteBlockunsafe, ignore invalid pages.
7 years ago
ReinUsesLisp
42b61daeba
gl_state: Fix samplers memory corruption
It was possible for "samplers" to be read without being written. This
addresses that.
7 years ago
Fernando Sahmkow
ad686a3c0d
Implement IsBlockContinous
This detects when a GPU Memory Block is not continous within host cpu
memory.
7 years ago
Fernando Sahmkow
56c2b0ea86
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
7 years ago
Fernando Sahmkow
994393bd02
Use ReadBlockUnsafe for fetyching DMA CommandLists
7 years ago
Fernando Sahmkow
86d3cb5fa7
Document unsafe versions and add BlockCopyUnsafe
7 years ago
Fernando Sahmkow
cde8e7f605
Use ReadBlockUnsafe for Shader Cache
7 years ago
Fernando Sahmkow
b33c627670
Use ReadBlockUnsafe on TIC and TSC reading
Use ReadBlockUnsafe on TIC and TSC reading as memory is never flushed
from host GPU there.
7 years ago
Fernando Sahmkow
57051db434
GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafe
7 years ago
Fernando Sahmkow
525211db3b
Use WriteBlock and ReadBlock.
7 years ago
Fernando Sahmkow
15368c6070
Implement Block Linear copies in Kepler Memory.
7 years ago
ReinUsesLisp
45044529b4
vk_shader_decompiler: Add missing operations
7 years ago
ReinUsesLisp
6ea1afc2bc
shader_ir/decode: Fix half float pre-operations and remove MetaHalfArithmetic
Operations done before the main half float operation (like HAdd) were
managing a packed value instead of the unpacked one. Adding an unpacked
operation allows us to drop the per-operand MetaHalfArithmetic entry,
simplifying the code overall.
7 years ago
ReinUsesLisp
7e58372bb9
gl_shader_decompiler: Fix MrgH0 decompilation
GLSL decompilation for HMergeH0 was wrong. This addresses that issue.
7 years ago
ReinUsesLisp
6d47914b88
shader_ir/decode: Implement half float saturation
7 years ago
ReinUsesLisp
9c4449696a
shader_ir/decode: Reduce severity of unimplemented half-float FTZ
7 years ago
ReinUsesLisp
a87fe3ea63
renderer_opengl: Implement half float NaN comparisons
7 years ago
ReinUsesLisp
b6a805df3b
shader_ir: Avoid using static on heap-allocated objects
Using static here might be faster at runtime, but it adds a heap
allocation called before main.
7 years ago
Fernando Sahmkow
73f925a949
Do some corrections in conversion shader instructions.
Corrects encodings for I2F, F2F, I2I and F2I
Implements Immediate variants of all four conversion types.
Add assertions to unimplemented stuffs.
7 years ago
Fernando Sahmkow
02c84726ed
Correct Kepler Memory on Linear Pushes.
7 years ago
Fernando Sahmkow
0e8065d640
Support compressed formats on linear textures.
7 years ago
Fernando Sahmkow
7e2bd462f9
Correct Pitch in Fermi2D
7 years ago
ReinUsesLisp
4338b9d829
gl_shader_decompiler: Use variable AOFFI on supported hardware
7 years ago
ReinUsesLisp
79e7fb6d6f
shader_ir: Implement STG, keep track of global memory usage and flush
7 years ago
Lioncash
e0962940a2
video_core/gpu: Create threads separately from initialization
Like with CPU emulation, we generally don't want to fire off the threads
immediately after the relevant classes are initialized, we want to do
this after all necessary data is done loading first.
This splits the thread creation into its own interface member function
to allow controlling when these threads in particular get created.
7 years ago
Fernando Sahmkow
5a01502521
gl_rasterizer_cache: Relax restrictions on FastCopySurface and FastLayeredCopySurface
7 years ago
ReinUsesLisp
750ff46cbc
gl_shader_manager: Move code to source file and minor clean up
7 years ago
ReinUsesLisp
3215c52cad
gl_rasterizer: Apply just the needed state on Clear
7 years ago
ReinUsesLisp
1c4f5b2737
gl_device: Implement interface and add uniform offset alignment
7 years ago
ReinUsesLisp
d334042c75
vk_shader_decompiler: Implement flow primitives
7 years ago
ReinUsesLisp
e3c886a149
vk_shader_decompiler: Implement most common texture primitives
7 years ago
ReinUsesLisp
7b813afc88
vk_shader_decompiler: Implement texture decompilation helper functions
7 years ago
ReinUsesLisp
357a5fcded
vk_shader_decompiler: Implement Assign and LogicalAssign
7 years ago
ReinUsesLisp
b6b1cc9ffa
vk_shader_decompiler: Implement non-OperationCode visits
7 years ago
ReinUsesLisp
4d83f1ea9e
vk_shader_decompiler: Implement OperationCode decompilation interface
7 years ago
ReinUsesLisp
86647aee2e
vk_shader_decompiler: Implement Visit
7 years ago
ReinUsesLisp
4d331aeab6
vk_shader_decompiler: Implement labels tree and flow
7 years ago
ReinUsesLisp
946b97b6f4
vk_shader_decompiler: Implement declarations
7 years ago
ReinUsesLisp
0589785e80
vk_shader_decompiler: Declare and stub interface for a SPIR-V decompiler
7 years ago
ReinUsesLisp
6272cafac7
video_core: Add sirit as optional dependency with Vulkan
sirit is a runtime assembler for SPIR-V
7 years ago
Fernando Sahmkow
3d337af7b8
Remove bounding in LD_C
7 years ago
Fernando Sahmkow
50484ee68a
Correct Fermi Copy on Linear Textures.
7 years ago
Fernando Sahmkow
1f12f92fc8
Implement Texture Format ZF32_X24S8.
7 years ago
Fernando Sahmkow
9360d5e854
Correct depth compare with color formats for R32F
7 years ago
Fernando Sahmkow
7f9e792814
gl_backend: Align Pixel Storage
This commit makes sure GL reads on the correct pack size for the
respective texture buffer.
7 years ago
Fernando Sahmkow
25e6fb72eb
Correct LOP_IMN encoding
7 years ago
Fernando Sahmkow
34b15b69df
Correct XMAD mode, psl and high_b on different encodings.
7 years ago
Fernando Sahmkow
061d68acaa
Adapt Bindless to work with AOFFI
7 years ago
Fernando Sahmkow
f5792ffeab
Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.
7 years ago