index
:
anonymous/yuzu
master
yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
video_core
/
renderer_opengl
/
gl_shader_cache.cpp
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
shader: Handle host exceptions
ReinUsesLisp
2021-07-23
1
-17
/
+26
*
glasm: Use storage buffers instead of global memory when possible
ReinUsesLisp
2021-07-23
1
-6
/
+24
*
gl_shader_cache: Add disk shader cache
ReinUsesLisp
2021-07-23
1
-6
/
+107
*
gl_shader_cache: Rename Program abstractions into Pipeline
ReinUsesLisp
2021-07-23
1
-21
/
+21
*
gl_shader_cache: Do not flip tessellation on OpenGL
ReinUsesLisp
2021-07-23
1
-2
/
+1
*
gl_shader_cache: Conditionally use viewport mask
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
gl_shader_cache,glasm: Conditionally use typeless image reads extension
ReinUsesLisp
2021-07-23
1
-37
/
+37
*
gl_shader_cache: Improve GLASM error print logic
ReinUsesLisp
2021-07-23
1
-7
/
+10
*
glasm: Implement forced early Z
ReinUsesLisp
2021-07-23
1
-2
/
+2
*
glasm: Set transform feedback state
ReinUsesLisp
2021-07-23
1
-2
/
+17
*
gl_shader_cache: Pass shader runtime information
ReinUsesLisp
2021-07-23
1
-2
/
+74
*
shader: Split profile and runtime information in separate structs
ReinUsesLisp
2021-07-23
1
-22
/
+4
*
glasm: Support textures used in more than one stage
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
opengl: Initial (broken) support to GLASM shaders
ReinUsesLisp
2021-07-23
1
-11
/
+35
*
glasm: Initial GLASM compute implementation for testing
ReinUsesLisp
2021-07-23
1
-6
/
+31
*
gl_shader_cache: Remove code unintentionally committed
ReinUsesLisp
2021-07-23
1
-3
/
+0
*
Move SPIR-V emission functions to their own header
ReinUsesLisp
2021-07-23
1
-3
/
+2
*
shader: Initial OpenGL implementation
ReinUsesLisp
2021-07-23
1
-3
/
+272
*
shader: Move pipeline cache logic to separate files
ReinUsesLisp
2021-07-23
1
-13
/
+8
*
shader: Remove old shader management
ReinUsesLisp
2021-07-23
1
-563
/
+1
*
bootmanager: Use std::stop_source for stopping emulation
ReinUsesLisp
2021-06-22
1
-3
/
+3
*
gl_disk_shader_cache: Log total shader entries count on game load
Morph
2021-02-20
1
-0
/
+4
*
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
ReinUsesLisp
2021-01-21
1
-5
/
+8
*
video_core: Rewrite the texture cache
ReinUsesLisp
2020-12-30
1
-1
/
+0
*
video_core: Make use of ordered container contains() where applicable
Lioncash
2020-12-07
1
-1
/
+1
*
video_core: Resolve more variable shadowing scenarios pt.3
Lioncash
2020-12-05
1
-4
/
+3
*
video_core: Resolve more variable shadowing scenarios
Lioncash
2020-12-04
1
-3
/
+3
*
video_core: Remove all Core::System references in renderer
ReinUsesLisp
2020-09-06
1
-32
/
+31
*
gl_shader_util: Use std::string_view instead of star pointer
ReinUsesLisp
2020-08-24
1
-0
/
+1
*
gl_shader_cache: Use std::max() for determining num_workers
Morph
2020-08-12
1
-1
/
+1
*
Merge pull request #4391 from lioncash/nrvo
bunnei
2020-07-24
1
-1
/
+1
|
\
|
*
video_core: Allow copy elision to take place where applicable
Lioncash
2020-07-21
1
-1
/
+1
*
|
video_core: Remove unused variables
Lioncash
2020-07-21
1
-3
/
+0
|
/
*
async shaders
David Marcec
2020-07-17
1
-49
/
+132
*
gl_shader_cache: Avoid use after move for program size
ReinUsesLisp
2020-06-24
1
-5
/
+7
*
Merge pull request #4041 from ReinUsesLisp/arb-decomp
bunnei
2020-06-16
1
-1
/
+3
|
\
|
*
gl_arb_decompiler: Implement an assembly shader decompiler
ReinUsesLisp
2020-06-12
1
-1
/
+3
*
|
vk_pipeline_cache: Use generic shader cache
ReinUsesLisp
2020-06-07
1
-3
/
+3
*
|
gl_shader_cache: Use generic shader cache
ReinUsesLisp
2020-06-07
1
-45
/
+42
|
/
*
glsl: Squash constant buffers into a single SSBO when we hit the limit
ReinUsesLisp
2020-06-01
1
-5
/
+7
*
renderer_opengl: Add assembly program code paths
ReinUsesLisp
2020-05-19
1
-21
/
+80
*
shader/memory_util: Deduplicate code
ReinUsesLisp
2020-04-26
1
-72
/
+10
*
ShaderCache/PipelineCache: Cache null shaders.
Fernando Sahmkow
2020-04-22
1
-4
/
+13
*
Revert "gl_shader_cache: Use CompileDepth::FullDecompile on GLSL"
Rodrigo Locatti
2020-04-17
1
-3
/
+1
*
gl_shader_cache: Use CompileDepth::FullDecompile on GLSL
ReinUsesLisp
2020-04-14
1
-1
/
+3
*
Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing.
Fernando Sahmkow
2020-04-06
1
-22
/
+24
*
Address review and fix broken yuzu-tester build
James Rowe
2020-03-26
1
-1
/
+1
*
Frontend/GPU: Refactor context management
James Rowe
2020-03-25
1
-3
/
+2
*
gl_shader_decompiler: Add identifier to decompiled code
ReinUsesLisp
2020-03-09
1
-2
/
+4
*
gl_shader_cache: Reduce registry consistency to debug assert
ReinUsesLisp
2020-03-09
1
-3
/
+1
*
shader/registry: Store graphics and compute metadata
ReinUsesLisp
2020-03-09
1
-12
/
+16
*
video_core: Rename "const buffer locker" to "registry"
ReinUsesLisp
2020-03-09
1
-32
/
+33
*
gl_shader_cache: Rework shader cache and remove post-specializations
ReinUsesLisp
2020-03-09
1
-345
/
+158
*
gl_state_tracker: Implement dirty flags for clip distances and shaders
ReinUsesLisp
2020-02-28
1
-0
/
+5
*
gl_rasterizer: Remove dirty flags
ReinUsesLisp
2020-02-28
1
-4
/
+0
*
Shader_IR: Store Bound buffer on Shader Usage
Fernando Sahmkow
2020-01-24
1
-1
/
+3
*
gl_shader_cache: Disable fastmath on Nvidia
ReinUsesLisp
2020-01-21
1
-0
/
+4
*
gl_shader_cache: Remove unused STAGE_RESERVED_UBOS constant
Lioncash
2020-01-14
1
-3
/
+0
*
gl_shader_cache: std::move entries in CachedShader constructor
Lioncash
2020-01-14
1
-3
/
+4
*
gl_shader_cache: Remove unused entries variable in BuildShader()
Lioncash
2020-01-14
1
-1
/
+0
*
gl_shader_cache: Update commentary for shared memory
ReinUsesLisp
2019-12-21
1
-9
/
+6
*
gl_shader_cache: Remove unused entry in GetPrimitiveDescription
ReinUsesLisp
2019-12-21
1
-11
/
+9
*
gl_shader_cache: Add missing new-line on emitted GLSL
ReinUsesLisp
2019-12-11
1
-2
/
+2
*
gl_shader_cache: Hack shared memory size
ReinUsesLisp
2019-11-23
1
-2
/
+3
*
gl_shader_cache: Remove dynamic BaseBinding specialization
ReinUsesLisp
2019-11-23
1
-36
/
+8
*
video_core: Unify ProgramType and ShaderStage into ShaderType
ReinUsesLisp
2019-11-23
1
-127
/
+100
*
gl_rasterizer: Bind graphics images to draw commands
ReinUsesLisp
2019-11-23
1
-0
/
+1
*
gl_shader_cache: Specialize local memory size for compute shaders
ReinUsesLisp
2019-11-23
1
-0
/
+5
*
gl_shader_cache: Specialize shared memory size
ReinUsesLisp
2019-11-23
1
-0
/
+7
*
gl_shader_cache: Specialize shader workgroup
ReinUsesLisp
2019-11-23
1
-35
/
+28
*
shader/texture: Deduce texture buffers from locker
ReinUsesLisp
2019-11-23
1
-12
/
+0
*
Merge pull request #3081 from ReinUsesLisp/fswzadd-shuffles
Fernando Sahmkow
2019-11-14
1
-5
/
+14
|
\
|
*
gl_shader_cache: Enable extensions only when available
ReinUsesLisp
2019-11-08
1
-6
/
+14
|
*
gl_shader_decompiler: Reimplement shuffles with platform agnostic intrinsics
ReinUsesLisp
2019-11-08
1
-0
/
+1
*
|
gl_shader_cache: Fix locker constructors
ReinUsesLisp
2019-11-08
1
-2
/
+4
|
/
*
gl_shader_cache: Implement locker variants invalidation
ReinUsesLisp
2019-10-25
1
-27
/
+75
*
gl_shader_disk_cache: Store and load fast BRX
ReinUsesLisp
2019-10-25
1
-2
/
+17
*
gl_shader_decompiler: Move entries to a separate function
ReinUsesLisp
2019-10-25
1
-238
/
+251
*
Shader_Cache: setup connection of ConstBufferLocker
Fernando Sahmkow
2019-10-25
1
-16
/
+29
*
shader/image: Implement SULD and remove irrelevant code
ReinUsesLisp
2019-09-21
1
-8
/
+8
*
shader_ir/warp: Implement SHFL
ReinUsesLisp
2019-09-17
1
-1
/
+2
*
gl_shader_cache: Remove special casing for geometry shaders
ReinUsesLisp
2019-09-04
1
-59
/
+9
*
video_core: Silent miscellaneous warnings (#2820)
Rodrigo Locatti
2019-08-30
1
-1
/
+1
*
Merge pull request #2742 from ReinUsesLisp/fix-texture-buffers
bunnei
2019-08-29
1
-2
/
+6
|
\
|
*
gl_shader_cache: Fix newline on buffer preprocessor definitions
ReinUsesLisp
2019-07-18
1
-2
/
+6
*
|
shader_ir: Implement VOTE
ReinUsesLisp
2019-08-21
1
-1
/
+3
*
|
Merge pull request #2734 from ReinUsesLisp/compute-shaders
bunnei
2019-07-22
1
-33
/
+117
|
\
\
|
*
|
gl_shader_cache: Fix clang-format issues
ReinUsesLisp
2019-07-16
1
-2
/
+1
|
*
|
gl_shader_cache: Address review commentaries
ReinUsesLisp
2019-07-15
1
-7
/
+4
|
*
|
gl_shader_cache: Address CI issues
ReinUsesLisp
2019-07-15
1
-1
/
+2
|
*
|
gl_rasterizer: Implement compute shaders
ReinUsesLisp
2019-07-15
1
-35
/
+122
|
|
/
*
/
Maxwell3D: Rework the dirty system to be more consistant and scaleable
Fernando Sahmkow
2019-07-17
1
-1
/
+1
|
/
*
Merge pull request #2695 from ReinUsesLisp/layer-viewport
Fernando Sahmkow
2019-07-15
1
-2
/
+5
|
\
|
*
gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
ReinUsesLisp
2019-07-08
1
-2
/
+5
*
|
shader_ir: propagate shader size to the IR
Fernando Sahmkow
2019-07-09
1
-7
/
+15
|
/
*
Merge pull request #2601 from FernandoS27/texture_cache
Zach Hilman
2019-07-05
1
-35
/
+56
|
\
|
*
texture_cache: Address Feedback
Fernando Sahmkow
2019-07-05
1
-2
/
+4
|
*
texture_cache: Style and Corrections
Fernando Sahmkow
2019-06-21
1
-1
/
+1
|
*
shader_cache: Correct versioning and size calculation.
Fernando Sahmkow
2019-06-21
1
-1
/
+6
|
*
gl_shader_decompiler: Implement image binding settings
ReinUsesLisp
2019-06-21
1
-0
/
+4
|
*
gl_rasterizer: Track texture buffer usage
ReinUsesLisp
2019-06-21
1
-34
/
+44
*
|
gl_shader_cache: Make CachedShader constructor private
Zach Hilman
2019-07-04
1
-2
/
+2
*
|
gl_shader_cache: Use static constructors for CachedShader initialization
ReinUsesLisp
2019-06-08
1
-42
/
+34
|
/
*
gl_shader_cache: Store a system class and drop global accessors
ReinUsesLisp
2019-05-30
1
-7
/
+8
*
gl_shader_cache: Add commentaries explaining the intention in shaders creation
ReinUsesLisp
2019-05-30
1
-0
/
+2
*
gl_shader_cache: Flip if condition in GetStageProgram to reduce indentation
ReinUsesLisp
2019-05-30
1
-25
/
+26
*
gl_shader_gen: Always declare extensions after the version declaration
ReinUsesLisp
2019-05-27
1
-1
/
+2
*
gl_shader_cache: Fix clang strict standard build issues
ReinUsesLisp
2019-05-21
1
-3
/
+4
*
gl_shader_cache: Use shared contexts to build shaders in parallel
ReinUsesLisp
2019-05-21
1
-34
/
+82
*
video_core/renderer_opengl/gl_shader_cache: Correct member initialization order
Lioncash
2019-05-10
1
-1
/
+1
*
Re added new lines at the end of files
FreddyFunk
2019-04-23
1
-1
/
+1
*
gl_shader_disk_cache: Use VectorVfsFile for the virtual precompiled shader cache file
unknown
2019-04-23
1
-1
/
+11
*
Merge pull request #2383 from ReinUsesLisp/aoffi-test
bunnei
2019-04-23
1
-27
/
+27
|
\
|
*
gl_shader_decompiler: Use variable AOFFI on supported hardware
ReinUsesLisp
2019-04-14
1
-27
/
+27
*
|
Document unsafe versions and add BlockCopyUnsafe
Fernando Sahmkow
2019-04-16
1
-6
/
+7
*
|
Use ReadBlockUnsafe for Shader Cache
Fernando Sahmkow
2019-04-16
1
-5
/
+7
|
/
*
Merge pull request #2354 from lioncash/header
bunnei
2019-04-10
1
-0
/
+1
|
\
|
*
video_core/texures/texture: Remove unnecessary includes
Lioncash
2019-04-06
1
-0
/
+1
*
|
Merge pull request #2300 from FernandoS27/null-shader
bunnei
2019-04-07
1
-0
/
+4
|
\
\
|
|
/
|
/
|
|
*
Permit a Null Shader in case of a bad host_ptr.
Fernando Sahmkow
2019-04-07
1
-0
/
+4
*
|
Merge pull request #2299 from lioncash/maxwell
bunnei
2019-04-04
1
-2
/
+0
|
\
\
|
*
|
gl_shader_manager: Remove unnecessary gl_shader_manager inclusion
Lioncash
2019-03-28
1
-2
/
+0
|
|
/
*
/
video_core: Amend constructor initializer list order where applicable
Lioncash
2019-03-27
1
-6
/
+6
|
/
*
gpu: Move GPUVAddr definition to common_types.
bunnei
2019-03-21
1
-2
/
+2
*
video_core: Refactor to use MemoryManager interface for all memory access.
bunnei
2019-03-16
1
-20
/
+17
*
gpu: Use host address for caching instead of guest address.
bunnei
2019-03-15
1
-19
/
+24
*
gl_shader_disk_cache: Use unordered containers
ReinUsesLisp
2019-02-07
1
-3
/
+3
*
gl_shader_cache: Fixup GLSL unique identifiers
ReinUsesLisp
2019-02-07
1
-2
/
+2
*
gl_shader_cache: Link loading screen with disk shader cache load
ReinUsesLisp
2019-02-07
1
-3
/
+26
*
gl_shader_cache: Set GL_PROGRAM_SEPARABLE to dumped shaders
ReinUsesLisp
2019-02-07
1
-0
/
+1
*
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
ReinUsesLisp
2019-02-07
1
-1
/
+2
*
gl_shader_disk_cache: Address miscellaneous feedback
ReinUsesLisp
2019-02-07
1
-3
/
+3
*
gl_shader_disk_cache: Pass return values returning instead of by parameters
ReinUsesLisp
2019-02-07
1
-7
/
+5
*
gl_shader_disk_cache: Save GLSL and entries into the precompiled file
ReinUsesLisp
2019-02-07
1
-32
/
+39
*
gl_shader_cache: Refactor to support disk shader cache
ReinUsesLisp
2019-02-07
1
-105
/
+345
*
rasterizer_interface: Add disk cache entry for the rasterizer
ReinUsesLisp
2019-02-07
1
-0
/
+2
*
video_core: Assert on invalid GPU to CPU address queries
ReinUsesLisp
2019-02-03
1
-2
/
+4
*
gl_shader_cache: Use explicit bindings
ReinUsesLisp
2019-01-30
1
-63
/
+83
*
gl_rasterizer: Implement global memory management
ReinUsesLisp
2019-01-30
1
-3
/
+15
*
video_core: Rename glsl_decompiler to gl_shader_decompiler
ReinUsesLisp
2019-01-15
1
-1
/
+1
*
video_core: Replace gl_shader_decompiler
ReinUsesLisp
2019-01-15
1
-2
/
+6
*
gl_shader_cache: Use dirty flags for shaders
ReinUsesLisp
2019-01-07
1
-1
/
+5
*
gl_shader_cache: Dehardcode constant in CalculateProgramSize()
Lioncash
2018-12-11
1
-2
/
+2
*
gl_shader_cache: Resolve truncation compiler warning
Lioncash
2018-12-11
1
-1
/
+1
*
Implemented a shader unique identifier.
Fernando Sahmkow
2018-12-09
1
-0
/
+45
*
shader_cache: Only lock covered instructions.
Markus Wick
2018-11-20
1
-0
/
+1
*
Merge pull request #1669 from ReinUsesLisp/fixup-gs
bunnei
2018-11-11
1
-2
/
+6
|
\
|
*
gl_shader_decompiler: Guard out of bound geometry shader input reads
ReinUsesLisp
2018-11-10
1
-2
/
+6
*
|
rasterizer_cache: Remove reliance on the System singleton
Lioncash
2018-11-08
1
-1
/
+3
|
/
*
video_core: Move OpenGL specific utils to its renderer
ReinUsesLisp
2018-10-29
1
-2
/
+3
*
gl_shader_decompiler: Implement geometry shaders
ReinUsesLisp
2018-10-07
1
-5
/
+29
*
Added glObjectLabels for renderdoc for textures and shader programs (#1384)
David
2018-09-23
1
-0
/
+2
*
Port #4182 from Citra: "Prefix all size_t with std::"
fearlessTobi
2018-09-15
1
-3
/
+3
*
video_core: fixed arithmetic overflow warnings & improved code style
Patrick Elsässer
2018-09-09
1
-4
/
+4
*
gl_shader_cache: Use an u32 for the binding point cache.
Markus Wick
2018-09-04
1
-8
/
+8
*
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
bunnei
2018-08-31
1
-11
/
+7
*
gl_shader_cache: Remove unused program_code vector in GetShaderAddress()
Lioncash
2018-08-28
1
-2
/
+1
*
renderer_opengl: Implement a new shader cache.
bunnei
2018-08-28
1
-0
/
+131