aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2020-01-24Shader_IR: Address FeedbackFernando Sahmkow
2020-01-24Guest_driver: Correct compiling errors in GCC.Fernando Sahmkow
2020-01-24Shader_IR: Store Bound buffer on Shader UsageFernando Sahmkow
2020-01-24GPU: Implement guest driver profile and deduce texture handler sizes.Fernando Sahmkow
2020-01-24Merge pull request #3273 from FernandoS27/txd-arraybunnei
Shader_IR: Implement TXD Array.
2020-01-24vk_shader_decompiler: Disable default values on unwritten render targetsReinUsesLisp
Some games like The Legend of Zelda: Breath of the Wild assign render targets without writing them from the fragment shader. This generates Vulkan validation errors, so silence these I previously introduced a commit to set "vec4(0, 0, 0, 1)" for these attachments. The problem is that this is not what games expect. This commit reverts that change.
2020-01-21gl_shader_cache: Disable fastmath on NvidiaReinUsesLisp
2020-01-20Merge pull request #3330 from ReinUsesLisp/vk-blit-screenFernando Sahmkow
vk_blit_screen: Initial implementation
2020-01-20vk_blit_screen: Address feedbackReinUsesLisp
2020-01-20Merge pull request #3328 from ReinUsesLisp/vulkan-atomsbunnei
vk_shader_decompiler: Implement UAtomicAdd (ATOMS) on SPIR-V
2020-01-19Merge pull request #3322 from ReinUsesLisp/vk-front-facebunnei
vk_graphics_pipeline: Set front facing properly
2020-01-19vk_blit_screen: Initial implementationReinUsesLisp
This abstraction takes care of presenting accelerated and non-accelerated or "framebuffer" images to the Vulkan swapchain.
2020-01-19Merge pull request #3313 from ReinUsesLisp/vk-rasterizerbunnei
vk_rasterizer: Implement Vulkan's rasterizer
2020-01-19vk_shader_decompiler: Implement UAtomicAdd (ATOMS) on SPIR-VReinUsesLisp
Also updates sirit to include atomic instructions.
2020-01-18Merge pull request #3317 from ReinUsesLisp/gl-decomp-cc-decompFernando Sahmkow
gl_shader_decompiler: Fix decompilation of condition codes
2020-01-18gl_state: Use bool instead of GLbooleanReinUsesLisp
This fixes template resolution considering GLboolean an integer instead of a bool.
2020-01-18vk_graphics_pipeline: Set front facing properlyReinUsesLisp
Front face was being forced to a certain value when cull face is disabled. Set a default value on initialization and drop the forcefully set front facing value with culling disabled.
2020-01-18Merge pull request #3305 from ReinUsesLisp/point-size-programbunnei
gl_state: Implement PROGRAM_POINT_SIZE
2020-01-18Merge pull request #3312 from ReinUsesLisp/atoms-u32bunnei
shader/memory: Implement ATOMS.ADD.U32
2020-01-17vk_rasterizer: Address feedbackReinUsesLisp
2020-01-17gl_shader_decompiler: Fix decompilation of condition codesReinUsesLisp
Use Visit instead of reimplementing it. Fixes unimplemented negations for condition codes.
2020-01-17Merge pull request #3306 from ReinUsesLisp/gl-texturebunnei
gl_texture_cache: Minor fixes and style changes
2020-01-17Merge pull request #3311 from ReinUsesLisp/z32fx24s8bunnei
format_lookup_table: Fix ZF32_X24S8 component types
2020-01-16vk_rasterizer: Implement Vulkan's rasterizerReinUsesLisp
This abstraction is Vulkan's equivalent to OpenGL's rasterizer. It takes care of joining all parts of the backend and rendering accordingly on demand.
2020-01-16renderer_vulkan: Add header as placeholderReinUsesLisp
2020-01-16Merge pull request #3300 from ReinUsesLisp/vk-texture-cachebunnei
vk_texture_cache: Implement generic texture cache on Vulkan
2020-01-16vk_texture_cache: Address feedbackReinUsesLisp
2020-01-16shader/memory: Implement ATOMS.ADD.U32ReinUsesLisp
2020-01-16format_lookup_table: Fix ZF32_X24S8 component typesReinUsesLisp
Component types for ZF32_X24S8 were using UNORM. Drivers will set FLOAT, UINT, UNORM, UNORM; causing a format mismatch. This commit addresses that.
2020-01-16vk_texture_cache: Fix typo in commentaryRodrigo Locatti
Co-Authored-By: MysticExile <30736337+MysticExile@users.noreply.github.com>
2020-01-16Merge pull request #3308 from lioncash/privatebunnei
maxwell_3d: Make dirty_pointers private
2020-01-16Merge pull request #3304 from lioncash/fwd-declbunnei
renderer_opengl/utils: Forward declare private structs
2020-01-16maxwell_3d: Make dirty_pointers privateLioncash
This isn't used outside of the class itself, so we can make it private for the time being.
2020-01-15gl_state: Implement PROGRAM_POINT_SIZEReinUsesLisp
For gl_PointSize to have effect we have to activate GL_PROGRAM_POINT_SIZE.
2020-01-15renderer_opengl/utils: Remove unused header inclusionsLioncash
Nothing from these headers are used, so they can be removed.
2020-01-15renderer_opengl/utils: Forward declare private structsLioncash
Keeps the definitions hidden and allows changes to the structs without needing to recompile all users of classes containing said structs.
2020-01-14gl_texture_cache: Use local variables to simplify DownloadTextureReinUsesLisp
2020-01-14gl_texture_cache: Fix format for RGBX16FReinUsesLisp
2020-01-14gl_texture_cache: Use Snorm internal format for RG8SReinUsesLisp
2020-01-14gl_texture_cache: Use Snorm internal format for ABGR8SReinUsesLisp
2020-01-14Merge pull request #3303 from lioncash/reorderRodrigo Locatti
control_flow: Silence -Wreorder warning for CFGRebuildState
2020-01-14control_flow: Silence -Wreorder warning for CFGRebuildStateLioncash
Organizes the initializer list in the same order that the variables would actually be initialized in.
2020-01-14gl_shader_cache: Remove unused STAGE_RESERVED_UBOS constantLioncash
Given this isn't used, this can be removed entirely.
2020-01-14gl_shader_cache: std::move entries in CachedShader constructorLioncash
Avoids several reallocations of std::vector instances where applicable.
2020-01-14gl_shader_cache: Remove unused entries variable in BuildShader()Lioncash
Eliminates a few unnecessary constructions of std::vectors.
2020-01-14Merge pull request #3287 from ReinUsesLisp/ldg-stg-16bunnei
shader_ir/memory: Implement u16 and u8 for STG and LDG
2020-01-13Merge pull request #3288 from ReinUsesLisp/uncurse-aoffibunnei
shader_ir/texture: Simplify AOFFI code
2020-01-13Merge pull request #3290 from ReinUsesLisp/gl-clampbunnei
maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driver
2020-01-13vk_texture_cache: Implement generic texture cache on VulkanReinUsesLisp
It currently ignores PBO linearizations since these should be dropped as soon as possible on OpenGL.
2020-01-13texture_cache/surface_params: Make GetNumLayers publicReinUsesLisp