ReinUsesLisp
10d59444d9
astc: Move Replicate to a constexpr LUT when possible
6 years ago
ReinUsesLisp
14ea2ced5b
astc: Make InputBitStream constexpr
6 years ago
ReinUsesLisp
2f105bd298
astc: OutputBitStream style changes and make it constexpr
6 years ago
ReinUsesLisp
5ee9b93d2a
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
cacbe85d13
VkRasterizer: Eliminate Legacy code.
6 years ago
Fernando Sahmkow
99e0ffe21b
Memory: Correct GCC errors.
6 years ago
Fernando Sahmkow
f00f6bbdb6
Memory: Address Feedback.
6 years ago
Fernando Sahmkow
3e7aecbd3c
GPUMemoryManager: Improve safety of memory reads.
6 years ago
ReinUsesLisp
8591cb316a
video_core/textures: Move GetMaxAnisotropy to cpp file
6 years ago
ReinUsesLisp
8a031dc233
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
30bbdc653c
yuzu: Drop SDL2 and Qt frontend Vulkan requirements
Create Vulkan instances and surfaces from the Vulkan backend.
6 years ago
Nguyen Dac Nam
ca3161ee7e
address nit.
6 years ago
ReinUsesLisp
3140098db9
renderer_vulkan: Query device names from the backend
6 years ago
ReinUsesLisp
dbebae0027
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
e2349b001e
Apply suggestions from code review
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
6 years ago
Fernando Sahmkow
3390d627b8
Clang Format.
6 years ago
Fernando Sahmkow
02f2fa510d
Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing.
6 years ago
Fernando Sahmkow
6c9f7db8af
Query Cache: Use VAddr instead of physical memory for adressing.
6 years ago
Fernando Sahmkow
3728c7160f
Buffer Cache: Use vAddr instead of physical memory.
6 years ago
Fernando Sahmkow
5b66d2bf74
Texture Cache: Use vAddr instead of physical memory for caching.
6 years ago
Fernando Sahmkow
5cc292ac3c
GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr
6 years ago
namkazy
a18e88be44
shader_decode: SULD.D using std::pair instead of out parameter
6 years ago
namkazy
319f68c624
shader_decode: SULD.D avoid duplicate code block.
6 years ago
namkazy
a6e264cd58
shader_decode: SULD.D fix conversion error.
6 years ago
namkazy
ca16317add
shader_decode: SULD.D implement bits64 and reverse shader ir init method to removed shader stage.
6 years ago
ReinUsesLisp
d222e63967
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
e38cbb78ad
shader/memory: Add "using std::move"
6 years ago
ReinUsesLisp
e50c604505
shader/memory: Minor fixes in ATOM
6 years ago
namkazy
d61a333362
silent warning (conversion error)
6 years ago
namkazy
15366b7474
shader_decode: SULD.D -> SINT actually same as UNORM.
6 years ago
namkazy
615eecd94e
shader_decode: SULD.D fix decode SNORM component
6 years ago
namkazy
dbd8cf0304
clang-format
6 years ago
namkazy
c26cea4ad2
shader_decode: get sampler descriptor from registry.
6 years ago
namkazy
8990c9a814
tweaking.
6 years ago
Nguyen Dac Nam
524c42bec8
clang-format
6 years ago
namkazy
2799ef5f43
cleanup unuse params
6 years ago
namkazy
35995111c9
cleanup debug code.
6 years ago
namkazy
2f42b04ae5
reimplement get component type, uncomment mistaken code
6 years ago
namkazy
d4038bf4ae
remove disable optimize
6 years ago
namkazy
e4402955e4
[wip] reimplement SULD.D
6 years ago
namkazy
67d9d397d2
add shader stage when init shader ir
6 years ago
Nguyen Dac Nam
731b0dbebc
clang-fix
6 years ago
Nguyen Dac Nam
4c3ddd9c99
shader: image - import PredCondition
6 years ago
Nguyen Dac Nam
9f407fad5e
shader: SULD.D bits32 implement more complexer method.
6 years ago
Nguyen Dac Nam
06fa4a3a41
shader: SULD.D import StoreType
6 years ago
Nguyen Dac Nam
94fecd1b68
shader: implement SULD.D bits32
6 years ago
ReinUsesLisp
bcca6c3fce
shader/other: Add error message for some S2R registers
6 years ago
ReinUsesLisp
2eef8d7249
shader_bytecode: Rename MOV_SYS to S2R
6 years ago
ReinUsesLisp
1163fe0034
shader_bytecode: Add encoding for BAR
6 years ago
ReinUsesLisp
fc4fc348bc
shader_ir: Add error message for EXIT.FCSM_TR
6 years ago