summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/maxwell_to_vk.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* maxwell_to_vk: Improve image format table and add more formatsReinUsesLisp2019-12-131-3/+7
| | | | | | A1B5G5R5 uses A1R5G5B5. This is flipped with image view swizzles; flushing is still not properly implemented on Vulkan for this particular format.
* maxwell_to_vk: Implement more primitive topologiesReinUsesLisp2019-12-131-1/+2
| | | | | | Add an extra argument to query device capabilities in the future. The intention behind this is to use native quads, quad strips, line loops and polygons if these are released for Vulkan.
* maxwell_to_vk: Approach GL_CLAMP closer to the GL specReinUsesLisp2019-12-131-1/+2
| | | | | | | The OpenGL spec defines GL_CLAMP's formula similarly to CLAMP_TO_EDGE and CLAMP_TO_BORDER depending on the filter mode used. It doesn't exactly behave like this, but it's the closest we can get with what Vulkan offers without emulating it by injecting shader code.
* maxwell_to_vk: Use VK_EXT_index_type_uint8 when availableReinUsesLisp2019-12-131-1/+1
|
* video_core: Unify ProgramType and ShaderStage into ShaderTypeReinUsesLisp2019-11-231-1/+1
|
* texture_cache: Drop abstracted ComponentTypeReinUsesLisp2019-11-141-2/+1
| | | | | | | | | Abstracted ComponentType was not being used in a meaningful way. This commit drops its usage. There is one place where it was being used to test compatibility between two cached surfaces, but this one is implied in the pixel format. Removing the component type test doesn't change the behaviour.
* maxwell_to_vk: Initial implementationReinUsesLisp2019-03-041-0/+58