aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2020-03-28renderer_vulkan/wrapper: Address feedbackReinUsesLisp
2020-03-28shader/lea: Simplify generated LEA codeReinUsesLisp
2020-03-27shader/lea: Fix op_a and op_b usagesReinUsesLisp
They were swapped.
2020-03-27shader/lea: Remove const and use move when possibleReinUsesLisp
2020-03-27Merge pull request #3565 from ReinUsesLisp/image-formatFernando Sahmkow
engines/const_buffer_engine_interface: Store image format and types
2020-03-27renderer_vulkan/wrapper: Add owning handlesReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add pool allocations owning templated classReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add owning handle templated classReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add destroy and free overload setReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add dispatch table and loadersReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add exception classReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add ToString function for VkResultReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add Vulakn wrapper and a span helperReinUsesLisp
The intention behind a Vulkan wrapper is to drop Vulkan-Hpp. The issues with Vulkan-Hpp are: - Regular breaks of the API. - Copy constructors that do the same as the aggregates (fixed recently) - External dynamic dispatch that is hard to remove - Alias KHR handles with non-KHR handles making it impossible to use smart handles on Vulkan 1.0 instances with extensions that were included on Vulkan 1.1. - Dynamic dispatchers silently change size depending on preprocessor definitions. Different files will have different dispatch definitions, generating all kinds of hard to debug memory issues. In other words, Vulkan-Hpp is not "production ready" for our needs and this wrapper aims to replace it without losing RAII and exception safety.
2020-03-27engines/const_buffer_engine_interface: Store image format typeReinUsesLisp
This information is required to properly implement SULD.B. It might also be handy for all image operations, since it would allow us to implement them on devices that require the image format to be specified (on desktop, this would be AMD on OpenGL and Intel on OpenGL and Vulkan).
2020-03-27maxwell_to_vk: implement signedscaled vertex formatsDan
2020-03-25Address review and fix broken yuzu-tester buildJames Rowe
2020-03-26shader/conversion: Fix F2F rounding operations with different sizesReinUsesLisp
Rounding operations only matter when the conversion size of source and destination is the same, i.e. .F16.F16, .F32.F32 and .F64.F64. When there is a mismatch (.F16.F32), these bits are used for IEEE rounding, we don't emulate this because GLSL and SPIR-V don't support configuring it per operation.
2020-03-26gl_rasterizer: Update stencil test regardless of it being disabledReinUsesLisp
2020-03-26gl_rasterizer: Synchronize stencil testing on clearsReinUsesLisp
2020-03-25Merge pull request #3544 from makigumo/myfork/patch-2bunnei
xmad: fix clang build error
2020-03-25Merge pull request #3520 from ReinUsesLisp/legacy-varyingsbunnei
gl_shader_decompiler: Implement legacy varyings
2020-03-24Frontend/GPU: Refactor context managementJames Rowe
Changes the GraphicsContext to be managed by the GPU core. This eliminates the need for the frontends to fool around with tricky MakeCurrent/DoneCurrent calls that are dependent on the settings (such as async gpu option). This also refactors out the need to use QWidget::fromWindowContainer as that caused issues with focus and input handling. Now we use a regular QWidget and just access the native windowHandle() directly. Another change is removing the debug tool setting in FrameMailbox. Instead of trying to block the frontend until a new frame is ready, the core will now take over presentation and draw directly to the window if the renderer detects that its hooked by NSight or RenderDoc Lastly, since it was in the way, I removed ScopeAcquireWindowContext and replaced it with a simple subclass in GraphicsContext that achieves the same result
2020-03-23Merge pull request #3543 from ReinUsesLisp/gl-depth-rangeFernando Sahmkow
gl_rasterizer: Use transformed viewport for depth ranges
2020-03-23xmad: fix clang build errormakigumo
2020-03-22apply replay logic to all writes. remove replay from MacroInterpreter::Send ↵namkazy
(@fincs)
2020-03-22maxwell_3d: change declaration ordernamkazy
2020-03-22maxwell_3d: init shadow_statenamkazy
2020-03-22gl_rasterizer: Use transformed viewport for depth rangesReinUsesLisp
Implement depth ranges using the transformed viewport instead of the generic one. This matches the current Vulkan implementation but doesn't support negative depth ranges. An update to glad is required for this.
2020-03-22maxwell_3d: this seem more correct.namkazy
2020-03-22maxwell_3d: update comments for shadow ram usagenamkazy
2020-03-22marco_interpreter: write hw value when shadow ram requestedNguyen Dac Nam
2020-03-22maxwell_3d: track shadow ram ctrl and hw reg valueNguyen Dac Nam
2020-03-22maxwell_3d: implement MME shadow RAMNguyen Dac Nam
2020-03-19Merge pull request #3505 from namkazt/patch-8bunnei
shader_decode: implement XMAD mode CSfu
2020-03-18vk_texture_cache: Silence misc warningsReinUsesLisp
2020-03-18vk_staging_buffer_pool: Silence unused constant warningReinUsesLisp
2020-03-18vk_rasterizer: Remove unused variableReinUsesLisp
2020-03-18vk_pipeline_cache: Remove unused variableReinUsesLisp
2020-03-18maxwell_to_vk: Sielence -Wswitch warningReinUsesLisp
2020-03-18gl_shader_decompiler: Remove deprecated function and its usagesReinUsesLisp
2020-03-18gl_rasterizer: Silence misc warningsReinUsesLisp
2020-03-18kepler_compute: Remove unused variablesReinUsesLisp
2020-03-18astc: Fix clang build issuesReinUsesLisp
2020-03-18gl_shader_decompiler: Don't redeclare gl_VertexID and gl_InstanceIDReinUsesLisp
2020-03-17Merge pull request #3510 from FernandoS27/dirty-writeMat M
DirtyFlags: relax need to set render_targets as dirty
2020-03-17Merge pull request #3509 from ReinUsesLisp/astc-optsMat M
astc: General changes and optimizations
2020-03-17Merge pull request #3518 from ReinUsesLisp/scissor-clearsMat M
vk_rasterizer: Implement scissor clears and layered clears
2020-03-17Merge pull request #3519 from ReinUsesLisp/int-formatsMat M
maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats
2020-03-17Merge pull request #3498 from ReinUsesLisp/texel-fetch-glslbunnei
gl_shader_decompiler: Add layer component to texelFetch
2020-03-16renderer_opengl: Move some logic to an anonymous namespaceReinUsesLisp