aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
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
2020-03-16renderer_opengl: Detect Nvidia Nsight as a debugging toolReinUsesLisp
Use getenv to detect Nsight.
2020-03-15Merge pull request #3515 from ReinUsesLisp/vertex-vk-assertRodrigo Locatti
vk_rasterizer: Fix vertex range assert
2020-03-15Merge pull request #3501 from ReinUsesLisp/rgba16-snormRodrigo Locatti
video_core: Implement RGBA16_SNORM
2020-03-15Merge pull request #3502 from namkazt/patch-3Rodrigo Locatti
shader_decode: Reimplement BFE instructions
2020-03-15Merge pull request #3503 from makigumo/patch-2Rodrigo Locatti
maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
2020-03-15gl_shader_decompiler: Implement legacy varyingsReinUsesLisp
Legacy varyings are special attributes carried over in hardware from the OpenGL 1 and OpenGL 2 days. These were generally used instead of the generic attributes we use today. They are deprecated or removed from most APIs, but Nvidia still ships them in hardware. To implement these, this commit maps them 1:1 to OpenGL compatibility.
2020-03-15shader/shader_ir: Track usage in input attribute and of legacy varyingsReinUsesLisp
2020-03-15shader/shader_ir: Fix clip distance usage storesReinUsesLisp
2020-03-15shader/shader_ir: Change declare output attribute to a switchReinUsesLisp
2020-03-15Merge pull request #3512 from bunnei/fix-renderdocRodrigo Locatti
renderer_opengl: Keep frames synchronized when using a GPU debugger.
2020-03-15maxwell_to_vk: Implement RG32 and RGB32 integer vertex formatsReinUsesLisp
2020-03-15vk_rasterizer: Implement layered clearsReinUsesLisp
2020-03-15vk_shader_decompiler: fix linux buildmakigumo