Commit Graph

12551 Commits (918119ae1b67ac96d91945660d71b530475204bc)
 

Author SHA1 Message Date
Lioncash 47df844338 video_core/control_flow: Make program_size for ScanFlow() a std::size_t
Prevents a truncation warning from occurring with MSVC. Also the
internal data structures already treat it as a size_t, so this is just a
discrepancy in the interface.
6 years ago
Lioncash 3df9558593 video_core/control_flow: Place all internally linked types/functions within an anonymous namespace
Previously, quite a few functions were being linked with external
linkage.
6 years ago
Lioncash 1109db86b7 video_core/shader/decode: Prevent sign-conversion warnings
Makes it explicit that the conversions here are intentional.
6 years ago
bunnei 5d369112d9
Merge pull request #2687 from lioncash/tls-process
kernel/process: Allocate the process' TLS region during initialization
6 years ago
bunnei 63bda67a34
Merge pull request #2738 from lioncash/shader-ir
shader-ir: Minor cleanup-related changes
6 years ago
Fernando Sahmkow 5a06e33859 Shader_Ir: correct clang format 6 years ago
Fernando Sahmkow 43f57d668c GPU: Add missing puller methods.
This adds some missing puller methods. We don't assert them as these are 
nop operations for us.
6 years ago
Fernando Sahmkow 3a3fee5abf MaxwellDMA/KeplerCopy: Downgrade DMA log message to Trace.
This log was just to know which games used DMA. It's no longer 
important.
6 years ago
Fernando Sahmkow d3b71ff80d Gl_Texture_Cache: Remove assert on component type in GetFormatTuple
Textures can have different components types in different orders. This 
assert was completely inprecise and the effectiveness of such is better 
handled by case and within the texture cache.
6 years ago
Fernando Sahmkow 0b65e9335e Shader_Ir: Downgrade precision and rounding asserts to debug asserts.
This commit reduces the sevirity of asserts for FP precision and 
rounding as this are well known and have little to no consequences in 
gpu's accuracy.
6 years ago
ReinUsesLisp 74632c76ce gl_shader_decompiler: Rename bufferImage to imageBuffer
The online OpenGL documentation is wrong. The type definition is
imageBuffer.
6 years ago
ReinUsesLisp 87909d327f gl_shader_cache: Fix newline on buffer preprocessor definitions 6 years ago
ReinUsesLisp e7bdf8b22a textures: Fix texture buffer size calculation 6 years ago
ReinUsesLisp 84027f4808 gl_texture_cache: Do not set texture parameters to buffers 6 years ago
ReinUsesLisp 73b2dc6d4f gl_texture_cache: Add missing break in CreateTexture 6 years ago
David d4b95bfc25
Merge pull request #2741 from FernandoS27/trace-log
Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.
6 years ago
Fernando Sahmkow 5e457bf258 Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.
This messages were originally set as warnning since few games used these
svcs and it was needed for debugging. This is no longer the case.
6 years ago
Fernando Sahmkow 4be61013a1 GL_State: Feedback and fixes 6 years ago
Fernando Sahmkow 5ad889f6fd Maxwell3D: Address Feedback 6 years ago
Fernando Sahmkow 7826f0afd9 Texture_Cache: Rebase Fixes 6 years ago
Fernando Sahmkow 8cdbfe69b1 GL_Rasterizer: Corrections to Clearing. 6 years ago
Fernando Sahmkow 0ff4a5fa39 Maxwell3D: Correct marking dirtiness on CB upload 6 years ago
Fernando Sahmkow fec32fed18 GL_Rasterizer: Rework RenderTarget/DepthBuffer clearing 6 years ago
Fernando Sahmkow a081dea8ab Maxwell3D: Implement State Dirty Flags. 6 years ago
Fernando Sahmkow 0d3db58657 Maxwell3D: Rework CBData Upload 6 years ago
Fernando Sahmkow f2e7b29c14 Maxwell3D: Rework the dirty system to be more consistant and scaleable 6 years ago
Fernando Sahmkow e42bcf2314 maxwell3d: Implement Conditional Rendering
Conditional Rendering takes care of conditionaly clearing or drawing
depending on a set of queries. This PR implements the query checks to
stablish if things can be rendered or not.
6 years ago
Fernando Sahmkow 223a535f3f
Merge pull request #2740 from lioncash/bra
shader/decode/other: Correct branch indirect argument within BRA handling
6 years ago
Rodrigo Locatti c3218c110f
Merge pull request #2726 from lioncash/access
core: Remove CurrentArmInterface() global accessor
6 years ago
Lioncash bebbdc2067 shader_ir: std::move Node instance where applicable
These are std::shared_ptr instances underneath the hood, which means
copying them isn't as cheap as a regular pointer. Particularly so on
weakly-ordered systems.

This avoids atomic reference count increments and decrements where they
aren't necessary for the core set of operations.
6 years ago
Lioncash 60926ac16b shader_ir: Rename Get/SetTemporal to Get/SetTemporary
This is more accurate in terms of describing what the functions are
actually doing. Temporal relates to time, not the setting of a temporary
itself.
6 years ago
Lioncash 44d87ff641 shader_ir: Remove unused includes
Removes unnecessary header dependencies.
6 years ago
Fernando Sahmkow d614193e49 Shader_Ir: Correct tracking to track from right to left 6 years ago
Fernando Sahmkow b56e7f870a
Merge pull request #2565 from ReinUsesLisp/track-indirect
shader/track: Track indirect buffers
6 years ago
Lioncash e2d7dda166 shader/decode/other: Correct branch indirect argument within BRA handling
This appears to have been a copy/paste error introduced within
8a6fc529a9
6 years ago
ReinUsesLisp 2a4044a858 gl_shader_cache: Fix clang-format issues 6 years ago
ReinUsesLisp 6b0d017675 gl_shader_decompiler: Stub local memory size 6 years ago
ReinUsesLisp 56bca83bde gl_shader_cache: Address review commentaries 6 years ago
ReinUsesLisp bbecd13697 gl_shader_cache: Address CI issues 6 years ago
ReinUsesLisp 725ba6cf63 gl_rasterizer: Implement compute shaders 6 years ago
Fernando Sahmkow 1bdb59fc6e
Merge pull request #2695 from ReinUsesLisp/layer-viewport
gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
6 years ago
bunnei b77a1ed67a
Merge pull request #2705 from FernandoS27/tex-cache-fixes
GPU: Fixes to Texture Cache and Include Microprofiles for GL State/BufferCopy/Macro Interpreter
6 years ago
ReinUsesLisp afa8096df5 shader: Allow tracking of indirect buffers without variable offset
While changing this code, simplify tracking code to allow returning
the base address node, this way callers don't have to manually rebuild
it on each invocation.
6 years ago
bunnei 3477b92289
Merge pull request #2675 from ReinUsesLisp/opengl-buffer-cache
buffer_cache: Implement a generic buffer cache and its OpenGL backend
6 years ago
Fernando Sahmkow 2ac7472d3f Texture_Cache: Address Feedback 6 years ago
Fernando Sahmkow 0f54b541f4 Texture_Cache: Remove some unprecise fallback case and clang format 6 years ago
Fernando Sahmkow 5818959e54 Texture_Cache: Force Framebuffer reset if an active render target is unregistered. 6 years ago
Fernando Sahmkow 913b7a6872 GPU: Add a microprofile for macro interpreter 6 years ago
Fernando Sahmkow a9943222f2 GL_State: Add a microprofile timer to OpenGL state. 6 years ago
Fernando Sahmkow 5c1e1a148e Gl_Texture_Cache: Measure Buffer Copy Times 6 years ago