ReinUsesLisp
a7baf6fee4
video_core: Add MSAA registers in 3D engine and TIC
This adds the registers used for multisampling. It doesn't implement
anything for now.
6 years ago
ReinUsesLisp
94b0e2e5da
texture_cache: Remove preserve_contents
preserve_contents was always true. We can't assume we don't have to
preserve clears because scissored and color masked clears exist.
This removes preserve_contents and assumes it as true at all times.
6 years ago
ReinUsesLisp
2905142f47
renderer_vulkan: Drop Vulkan-Hpp
6 years ago
ReinUsesLisp
a87b16da9a
shader/texture: Remove type mismatches management from shader decoder
Since commit e22816a5bb we handle type mismatches from the CPU.
We don't need to hack our shader decoder due to game bugs anymore.
Removed in this commit.
6 years ago
ReinUsesLisp
6bf5d2b011
astc: Hard code bit depth changes to 8 and use fast replicate
6 years ago
ReinUsesLisp
bd2c1ab8a0
astc: Use boost's static_vector to avoid heap allocations
6 years ago
ReinUsesLisp
5de130beea
astc: Implement a fast precompiled alternative for Replicate
6 years ago
ReinUsesLisp
6b4d4473be
astc: Move Replicate to a constexpr LUT when possible
6 years ago
ReinUsesLisp
d22a689250
astc: Make InputBitStream constexpr
6 years ago
ReinUsesLisp
0efc230381
astc: OutputBitStream style changes and make it constexpr
6 years ago
ReinUsesLisp
6c8f9f40d7
gl_texture_cache: Attach view instead of base texture for layered attachments
This way we are not ignoring the base layer of the current texture.
6 years ago
Fernando Sahmkow
7cd6daf115
VkRasterizer: Eliminate Legacy code.
6 years ago
Fernando Sahmkow
1c18dc6577
Memory: Correct GCC errors.
6 years ago
Fernando Sahmkow
913f42a3a7
Memory: Address Feedback.
6 years ago
Fernando Sahmkow
e00d992848
GPUMemoryManager: Improve safety of memory reads.
6 years ago
ReinUsesLisp
a209d464f9
video_core/textures: Move GetMaxAnisotropy to cpp file
6 years ago
ReinUsesLisp
d7db088180
video_core/texture: Use a LUT to convert sRGB texture borders
This is a reversed look up table extracted from
https://gist.github.com/rygorous/2203834#file-gistfile1-cpp-L41-L62
that is used in
04d4e9e587/source/maxwell/tsc_generate.cpp (L38)
Games usually bind 0xFD expecting a float texture border of 1.0f.
The conversion previous to this commit was multiplying the uint8 sRGB
texture border color by 255. This is close to 1.0f but when that
difference matters, some graphical glitches appear.
This look up table is manually changed in the edges, clamping towards
0.0f and 1.0f.
While we are at it, move this logic to its own translation unit.
6 years ago
ReinUsesLisp
bf1d66b7c0
yuzu: Drop SDL2 and Qt frontend Vulkan requirements
Create Vulkan instances and surfaces from the Vulkan backend.
6 years ago
Nguyen Dac Nam
935648ffa9
address nit.
6 years ago
ReinUsesLisp
bc1b4b85b0
renderer_vulkan: Query device names from the backend
6 years ago
ReinUsesLisp
da706cad25
shader/conversion: Implement I2I sign extension, saturation and selection
Reimplements I2I adding sign extension, saturation (clamp source value
to the destination), selection and destination sizes that are not 32
bits wide.
It doesn't implement CC yet.
6 years ago
Nguyen Dac Nam
bf1174c114
Apply suggestions from code review
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
6 years ago
Fernando Sahmkow
f9d5718c4b
Clang Format.
6 years ago
Fernando Sahmkow
ea535d9470
Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing.
6 years ago
Fernando Sahmkow
3dd5c07454
Query Cache: Use VAddr instead of physical memory for adressing.
6 years ago
Fernando Sahmkow
7fcd0fee6d
Buffer Cache: Use vAddr instead of physical memory.
6 years ago
Fernando Sahmkow
6ee316cb8f
Texture Cache: Use vAddr instead of physical memory for caching.
6 years ago
Fernando Sahmkow
9c0f40a1f5
GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr
6 years ago
namkazy
2c98e14d13
shader_decode: SULD.D using std::pair instead of out parameter
6 years ago
namkazy
9efa51311f
shader_decode: SULD.D avoid duplicate code block.
6 years ago
namkazy
7f5696513f
shader_decode: SULD.D fix conversion error.
6 years ago
namkazy
2906372ba1
shader_decode: SULD.D implement bits64 and reverse shader ir init method to removed shader stage.
6 years ago
ReinUsesLisp
3185245845
shader/memory: Implement RED.E.ADD
Implements a reduction operation. It's an atomic operation that doesn't
return a value.
This commit introduces another primitive because some shading languages
might have a primitive for reduction operations.
6 years ago
ReinUsesLisp
fd0a2b5151
shader/memory: Add "using std::move"
6 years ago
ReinUsesLisp
79970c9174
shader/memory: Minor fixes in ATOM
6 years ago
namkazy
730f9b55b3
silent warning (conversion error)
6 years ago
namkazy
9f6ebccf06
shader_decode: SULD.D -> SINT actually same as UNORM.
6 years ago
namkazy
6f2b7087c2
shader_decode: SULD.D fix decode SNORM component
6 years ago
namkazy
69657ff19c
clang-format
6 years ago
namkazy
24cc64c5b3
shader_decode: get sampler descriptor from registry.
6 years ago
namkazy
acd3f0ab37
tweaking.
6 years ago
Nguyen Dac Nam
8370188b3c
clang-format
6 years ago
namkazy
3e3afa9be6
cleanup unuse params
6 years ago
namkazy
5cd5857000
cleanup debug code.
6 years ago
namkazy
658112783d
reimplement get component type, uncomment mistaken code
6 years ago
namkazy
3ad06e9b2b
remove disable optimize
6 years ago
namkazy
f24c2e1103
[wip] reimplement SULD.D
6 years ago
namkazy
58bcb86af5
add shader stage when init shader ir
6 years ago
Nguyen Dac Nam
2cefdd92bd
clang-fix
6 years ago
Nguyen Dac Nam
1f3d142875
shader: image - import PredCondition
6 years ago