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
Fernando Sahmkow
c52fbaa8d8
Fix bad rebase
7 years ago
Fernando Sahmkow
4b2d117d52
Fix TMML
7 years ago
Fernando Sahmkow
b47e1b1a84
Simplify ConstBufferAccessor
7 years ago
Fernando Sahmkow
5ce4140257
Refactor GetTextureCode and GetTexCode to use an optional instead of optional parameters
7 years ago
Fernando Sahmkow
2f456841b0
Implement TXQ_B
7 years ago
Fernando Sahmkow
3672ecc5c4
Implement TMML_B
7 years ago
Fernando Sahmkow
8bb9877b70
Corrections to TEX_B
7 years ago
Fernando Sahmkow
d7fbc6c03f
Fixes to Const Buffer Accessor and Formatting
7 years ago
Fernando Sahmkow
e6d2e59f07
Implement Bindless Handling on SetupTexture
7 years ago
Fernando Sahmkow
dea7db19cf
Unify both sampler types.
7 years ago
Fernando Sahmkow
ee9b2e3cdc
Implement Bindless Samplers and TEX_B in the IR.
7 years ago
Fernando Sahmkow
b9a3255490
Implement Const Buffer Accessor
7 years ago
Fernando Sahmkow
a576cd4a8c
Permit a Null Shader in case of a bad host_ptr.
7 years ago
ReinUsesLisp
8092d3fad0
maxwell_3d: Reduce severity of ProcessSyncPoint
7 years ago
Lioncash
053aae66c1
video_core/textures/convert: Replace include with a forward declaration
Avoids dragging in a direct dependency in a header.
7 years ago
Lioncash
44d91d561a
video_core/texures/texture: Remove unnecessary includes
Nothing in this header relies on common_funcs or the memory manager.
This gets rid of reliance on indirect inclusions in the OpenGL caches.
7 years ago
bunnei
2a4a454793
memory_manager: Improved implementation of read/write/copy block.
- Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY!
- Fixes a crash with Mario Tennis Aces
7 years ago
Lioncash
a812485b94
video_core/macro_interpreter: Remove assertion within FetchParameter()
We can just use .at(), which essentially does the same thing, but with
less code.
7 years ago
Lioncash
d2143cb59c
video_core/macro_interpreter: Simplify GetRegister()
Given we already ensure nothing can set the zeroth register in
SetRegister(), we don't need to check if the index is zero and special
case it. We can just access the register normally, since it's already
going to be zero.
We can also replace the assertion with .at() to perform the equivalent
behavior inline as part of the API.
7 years ago
Lioncash
69846b1557
video_core/memory_manager: Make Read() a const qualified member function
Given this doesn't actually alter internal state, this can be made a
const member function.
7 years ago
Lioncash
e36500c07f
video_core/memory_manager: Make ReadBlock() a const qualifier member function
Now, since we have a const qualified variant of GetPointer(), we can put
it to use in ReadBlock() to retrieve the source pointer that is passed
into memcpy.
Now block reading may be done from a const context.
7 years ago
Lioncash
514351af96
video_core/memory_manager: Add a const qualified variant of GetPointer()
Allows retrieving read-only pointers from a const context externally.
7 years ago
Lioncash
72e8ac8e4e
video_core/memory_manager: Make FindFreeRegion() a const member function
This doesn't modify internal state, so it can be made a const member
function.
7 years ago