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
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2022-08-31
(shader/pipeline)_cache: Raise shader/pipeline cache version
Morph
1
-1
/
+1
2022-07-30
video_core: stop waiting for shader compilation on user cancel
Liam
1
-1
/
+1
2022-06-14
common: Change semantics of UNREACHABLE to unconditionally crash
Liam
1
-2
/
+2
2022-04-23
general: Convert source file copyright comments over to SPDX
Morph
1
-3
/
+2
2022-04-07
video_core: Replace lock_guard with scoped_lock
Merry
1
-2
/
+2
2022-03-19
video_core: Reduce unused includes
ameerj
1
-3
/
+0
2022-01-04
ShaderDecompiler: Add a debug option to dump the game's shaders.
Fernando Sahmkow
1
-1
/
+10
2021-12-30
glsl: Add boolean reference workaround
ameerj
1
-0
/
+1
2021-12-30
glsl_context_get_set: Add alternative cbuf type for broken drivers
ameerj
1
-0
/
+1
2021-12-18
Address format clang
vonchenplus
1
-1
/
+1
2021-11-19
Implement convert legacy to generic
Feng Chen
1
-0
/
+3
2021-11-16
opengl: Use Shader::NumDescriptors when possible
ReinUsesLisp
1
-10
/
+5
2021-09-14
renderers: Log total pipeline count
Morph
1
-0
/
+2
2021-08-30
structured_control_flow: Conditionally invoke demote reorder pass
ameerj
1
-0
/
+1
2021-07-27
gl_shader_cache: Remove unused variable
Lioncash
1
-1
/
+0
2021-07-23
shader_environment: Receive cache version from outside
ReinUsesLisp
1
-3
/
+7
2021-07-23
glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
ameerj
1
-0
/
+1
2021-07-23
gl_shader_cache: Properly implement asynchronous shaders
ReinUsesLisp
1
-1
/
+1
2021-07-23
shader: Ignore global memory ops on devices lacking int64 support
ameerj
1
-0
/
+1
2021-07-23
gl_shader_cache: Fixes for async shaders
ameerj
1
-2
/
+23
2021-07-23
emit_spirv: Workaround VK_KHR_shader_float_controls on fp16 Nvidia
ReinUsesLisp
1
-0
/
+1
2021-07-23
video_core: Enable GL SPIR-V shaders
lat9nq
1
-9
/
+31
2021-07-23
glasm: Add passthrough geometry shader support
ReinUsesLisp
1
-1
/
+1
2021-07-23
shader: Rework varyings and implement passthrough geometry shaders
ReinUsesLisp
1
-3
/
+4
2021-07-23
shader: Unify shader stage types
ReinUsesLisp
1
-1
/
+0
2021-07-23
shader: Emulate 64-bit integers when not supported
ReinUsesLisp
1
-1
/
+1
2021-07-23
gl_shader_cache: Check previous pipeline before checking hash map
ReinUsesLisp
1
-6
/
+14
2021-07-23
shaders: Allow shader notify when async shaders is disabled
ameerj
1
-4
/
+4
2021-07-23
shader: Properly manage attributes not written from previous stages
ReinUsesLisp
1
-1
/
+10
2021-07-23
shader: Add support for native 16-bit floats
ReinUsesLisp
1
-4
/
+8
2021-07-23
shader: Rename maxwell/program.h to translate_program.h
ReinUsesLisp
1
-1
/
+1
2021-07-23
glsl: Address rest of feedback
ameerj
1
-0
/
+1
2021-07-23
glsl: Conditionally use fine/coarse derivatives based on device support
ameerj
1
-0
/
+1
2021-07-23
glsl: Cleanup/Address feedback
ameerj
1
-0
/
+2
2021-07-23
gl_shader_cache: Implement async shaders
ameerj
1
-29
/
+25
2021-07-23
glsl: Add stubs for sparse queries and variable aoffi when not supported
ameerj
1
-0
/
+2
2021-07-23
gl_shader_cache: Move OGL shader compilation to the respective Pipeline constructor
ameerj
1
-61
/
+8
2021-07-23
glsl: Implement fswzadd
ameerj
1
-0
/
+1
2021-07-23
glsl: Rebase fixes
ameerj
1
-1
/
+0
2021-07-23
glsl: Use textureGrad fallback when EXT_texture_shadow_lod is unsupported
ameerj
1
-0
/
+1
2021-07-23
glsl: skip gl_ViewportIndex write if device does not support it
ameerj
1
-0
/
+1
2021-07-23
glsl: Implement transform feedback
ameerj
1
-5
/
+13
2021-07-23
glsl: Implement VOTE for subgroup size potentially larger
ameerj
1
-1
/
+1
2021-07-23
glsl: Implement some attribute getters and setters
ameerj
1
-1
/
+0
2021-07-23
glsl: Query GL Device for FP16 extension support
ameerj
1
-0
/
+2
2021-07-23
glsl: Fixup build issues
ReinUsesLisp
1
-1
/
+1
2021-07-23
glsl: Initial backend
ameerj
1
-2
/
+5
2021-07-23
shader: Reorder shader cache directories
ReinUsesLisp
1
-8
/
+5
2021-07-23
gl_shader_util: Move shader utility code to a separate file
ReinUsesLisp
1
-76
/
+5
2021-07-23
gl_shader_cache: Store workers in shader cache object
ReinUsesLisp
1
-58
/
+71
2021-07-23
shader: Fix VertexA Shaders.
FernandoS27
1
-5
/
+21
2021-07-23
glasm: Use ARB_derivative_control conditionally
ReinUsesLisp
1
-0
/
+1
2021-07-23
opengl: Declare fragment outputs even if they are not used
ReinUsesLisp
1
-0
/
+2
2021-07-23
shader: Handle host exceptions
ReinUsesLisp
1
-17
/
+26
2021-07-23
glasm: Use storage buffers instead of global memory when possible
ReinUsesLisp
1
-6
/
+24
2021-07-23
gl_shader_cache: Add disk shader cache
ReinUsesLisp
1
-6
/
+107
2021-07-23
gl_shader_cache: Rename Program abstractions into Pipeline
ReinUsesLisp
1
-21
/
+21
2021-07-23
gl_shader_cache: Do not flip tessellation on OpenGL
ReinUsesLisp
1
-2
/
+1
2021-07-23
gl_shader_cache: Conditionally use viewport mask
ReinUsesLisp
1
-1
/
+1
2021-07-23
gl_shader_cache,glasm: Conditionally use typeless image reads extension
ReinUsesLisp
1
-37
/
+37
2021-07-23
gl_shader_cache: Improve GLASM error print logic
ReinUsesLisp
1
-7
/
+10
2021-07-23
glasm: Implement forced early Z
ReinUsesLisp
1
-2
/
+2
2021-07-23
glasm: Set transform feedback state
ReinUsesLisp
1
-2
/
+17
2021-07-23
gl_shader_cache: Pass shader runtime information
ReinUsesLisp
1
-2
/
+74
2021-07-23
shader: Split profile and runtime information in separate structs
ReinUsesLisp
1
-22
/
+4
2021-07-23
glasm: Support textures used in more than one stage
ReinUsesLisp
1
-1
/
+1
2021-07-23
opengl: Initial (broken) support to GLASM shaders
ReinUsesLisp
1
-11
/
+35
2021-07-23
glasm: Initial GLASM compute implementation for testing
ReinUsesLisp
1
-6
/
+31
2021-07-23
gl_shader_cache: Remove code unintentionally committed
ReinUsesLisp
1
-3
/
+0
2021-07-23
Move SPIR-V emission functions to their own header
ReinUsesLisp
1
-3
/
+2
2021-07-23
shader: Initial OpenGL implementation
ReinUsesLisp
1
-3
/
+272
2021-07-23
shader: Move pipeline cache logic to separate files
ReinUsesLisp
1
-13
/
+8
2021-07-23
shader: Remove old shader management
ReinUsesLisp
1
-563
/
+1
2021-06-22
bootmanager: Use std::stop_source for stopping emulation
ReinUsesLisp
1
-3
/
+3
2021-02-20
gl_disk_shader_cache: Log total shader entries count on game load
Morph
1
-0
/
+4
2021-01-21
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
ReinUsesLisp
1
-5
/
+8
2020-12-30
video_core: Rewrite the texture cache
ReinUsesLisp
1
-1
/
+0
2020-12-07
video_core: Make use of ordered container contains() where applicable
Lioncash
1
-1
/
+1
2020-12-05
video_core: Resolve more variable shadowing scenarios pt.3
Lioncash
1
-4
/
+3
2020-12-04
video_core: Resolve more variable shadowing scenarios
Lioncash
1
-3
/
+3
2020-09-06
video_core: Remove all Core::System references in renderer
ReinUsesLisp
1
-32
/
+31
2020-08-24
gl_shader_util: Use std::string_view instead of star pointer
ReinUsesLisp
1
-0
/
+1
2020-08-12
gl_shader_cache: Use std::max() for determining num_workers
Morph
1
-1
/
+1
2020-07-21
video_core: Remove unused variables
Lioncash
1
-3
/
+0
2020-07-21
video_core: Allow copy elision to take place where applicable
Lioncash
1
-1
/
+1
2020-07-17
async shaders
David Marcec
1
-49
/
+132
2020-06-24
gl_shader_cache: Avoid use after move for program size
ReinUsesLisp
1
-5
/
+7
2020-06-12
gl_arb_decompiler: Implement an assembly shader decompiler
ReinUsesLisp
1
-1
/
+3
2020-06-07
vk_pipeline_cache: Use generic shader cache
ReinUsesLisp
1
-3
/
+3
2020-06-07
gl_shader_cache: Use generic shader cache
ReinUsesLisp
1
-45
/
+42
2020-06-01
glsl: Squash constant buffers into a single SSBO when we hit the limit
ReinUsesLisp
1
-5
/
+7
2020-05-19
renderer_opengl: Add assembly program code paths
ReinUsesLisp
1
-21
/
+80
2020-04-26
shader/memory_util: Deduplicate code
ReinUsesLisp
1
-72
/
+10
2020-04-22
ShaderCache/PipelineCache: Cache null shaders.
Fernando Sahmkow
1
-4
/
+13
2020-04-17
Revert "gl_shader_cache: Use CompileDepth::FullDecompile on GLSL"
Rodrigo Locatti
1
-3
/
+1
2020-04-14
gl_shader_cache: Use CompileDepth::FullDecompile on GLSL
ReinUsesLisp
1
-1
/
+3
2020-04-06
Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing.
Fernando Sahmkow
1
-22
/
+24
2020-04-06
shader_decode: SULD.D implement bits64 and reverse shader ir init method to removed shader stage.
namkazy
1
-3
/
+3
2020-04-05
add shader stage when init shader ir
namkazy
1
-3
/
+3
2020-03-26
Address review and fix broken yuzu-tester build
James Rowe
1
-1
/
+1
2020-03-25
Frontend/GPU: Refactor context management
James Rowe
1
-3
/
+2
2020-03-09
gl_shader_decompiler: Add identifier to decompiled code
ReinUsesLisp
1
-2
/
+4
2020-03-09
gl_shader_cache: Reduce registry consistency to debug assert
ReinUsesLisp
1
-3
/
+1
2020-03-09
shader/registry: Store graphics and compute metadata
ReinUsesLisp
1
-12
/
+16
2020-03-09
video_core: Rename "const buffer locker" to "registry"
ReinUsesLisp
1
-32
/
+33
2020-03-09
gl_shader_cache: Rework shader cache and remove post-specializations
ReinUsesLisp
1
-345
/
+158
2020-02-28
gl_state_tracker: Implement dirty flags for clip distances and shaders
ReinUsesLisp
1
-0
/
+5
2020-02-28
gl_rasterizer: Remove dirty flags
ReinUsesLisp
1
-4
/
+0
2020-01-24
Shader_IR: Store Bound buffer on Shader Usage
Fernando Sahmkow
1
-1
/
+3
2020-01-21
gl_shader_cache: Disable fastmath on Nvidia
ReinUsesLisp
1
-0
/
+4
2020-01-14
gl_shader_cache: Remove unused STAGE_RESERVED_UBOS constant
Lioncash
1
-3
/
+0
2020-01-14
gl_shader_cache: std::move entries in CachedShader constructor
Lioncash
1
-3
/
+4
2020-01-14
gl_shader_cache: Remove unused entries variable in BuildShader()
Lioncash
1
-1
/
+0
2019-12-21
gl_shader_cache: Update commentary for shared memory
ReinUsesLisp
1
-9
/
+6
2019-12-21
gl_shader_cache: Remove unused entry in GetPrimitiveDescription
ReinUsesLisp
1
-11
/
+9
2019-12-11
gl_shader_cache: Add missing new-line on emitted GLSL
ReinUsesLisp
1
-2
/
+2
2019-11-23
gl_shader_cache: Hack shared memory size
ReinUsesLisp
1
-2
/
+3
2019-11-23
gl_shader_cache: Remove dynamic BaseBinding specialization
ReinUsesLisp
1
-36
/
+8
2019-11-23
video_core: Unify ProgramType and ShaderStage into ShaderType
ReinUsesLisp
1
-127
/
+100
2019-11-23
gl_rasterizer: Bind graphics images to draw commands
ReinUsesLisp
1
-0
/
+1
2019-11-23
gl_shader_cache: Specialize local memory size for compute shaders
ReinUsesLisp
1
-0
/
+5
2019-11-23
gl_shader_cache: Specialize shared memory size
ReinUsesLisp
1
-0
/
+7
2019-11-23
gl_shader_cache: Specialize shader workgroup
ReinUsesLisp
1
-35
/
+28
2019-11-23
shader/texture: Deduce texture buffers from locker
ReinUsesLisp
1
-12
/
+0
2019-11-08
gl_shader_cache: Fix locker constructors
ReinUsesLisp
1
-2
/
+4
2019-11-08
gl_shader_cache: Enable extensions only when available
ReinUsesLisp
1
-6
/
+14
2019-11-08
gl_shader_decompiler: Reimplement shuffles with platform agnostic intrinsics
ReinUsesLisp
1
-0
/
+1
2019-10-25
gl_shader_cache: Implement locker variants invalidation
ReinUsesLisp
1
-27
/
+75
2019-10-25
gl_shader_disk_cache: Store and load fast BRX
ReinUsesLisp
1
-2
/
+17
2019-10-25
gl_shader_decompiler: Move entries to a separate function
ReinUsesLisp
1
-238
/
+251
2019-10-25
Shader_Cache: setup connection of ConstBufferLocker
Fernando Sahmkow
1
-16
/
+29
2019-09-21
shader/image: Implement SULD and remove irrelevant code
ReinUsesLisp
1
-8
/
+8
2019-09-17
shader_ir/warp: Implement SHFL
ReinUsesLisp
1
-1
/
+2
2019-09-04
gl_shader_cache: Remove special casing for geometry shaders
ReinUsesLisp
1
-59
/
+9
2019-08-30
video_core: Silent miscellaneous warnings (#2820)
Rodrigo Locatti
1
-1
/
+1
2019-08-21
shader_ir: Implement VOTE
ReinUsesLisp
1
-1
/
+3
2019-07-18
gl_shader_cache: Fix newline on buffer preprocessor definitions
ReinUsesLisp
1
-2
/
+6
2019-07-17
Maxwell3D: Rework the dirty system to be more consistant and scaleable
Fernando Sahmkow
1
-1
/
+1
2019-07-16
gl_shader_cache: Fix clang-format issues
ReinUsesLisp
1
-2
/
+1
2019-07-15
gl_shader_cache: Address review commentaries
ReinUsesLisp
1
-7
/
+4
2019-07-15
gl_shader_cache: Address CI issues
ReinUsesLisp
1
-1
/
+2
2019-07-15
gl_rasterizer: Implement compute shaders
ReinUsesLisp
1
-35
/
+122
2019-07-09
shader_ir: propagate shader size to the IR
Fernando Sahmkow
1
-7
/
+15
2019-07-08
gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
ReinUsesLisp
1
-2
/
+5
2019-07-05
texture_cache: Address Feedback
Fernando Sahmkow
1
-2
/
+4
2019-07-04
gl_shader_cache: Make CachedShader constructor private
Zach Hilman
1
-2
/
+2
2019-06-21
texture_cache: Style and Corrections
Fernando Sahmkow
1
-1
/
+1
2019-06-21
shader_cache: Correct versioning and size calculation.
Fernando Sahmkow
1
-1
/
+6
2019-06-21
gl_shader_decompiler: Implement image binding settings
ReinUsesLisp
1
-0
/
+4
2019-06-21
gl_rasterizer: Track texture buffer usage
ReinUsesLisp
1
-34
/
+44
2019-06-08
gl_shader_cache: Use static constructors for CachedShader initialization
ReinUsesLisp
1
-42
/
+34
2019-05-30
gl_shader_cache: Store a system class and drop global accessors
ReinUsesLisp
1
-7
/
+8
2019-05-30
gl_shader_cache: Add commentaries explaining the intention in shaders creation
ReinUsesLisp
1
-0
/
+2
2019-05-30
gl_shader_cache: Flip if condition in GetStageProgram to reduce indentation
ReinUsesLisp
1
-25
/
+26
2019-05-27
gl_shader_gen: Always declare extensions after the version declaration
ReinUsesLisp
1
-1
/
+2
2019-05-21
gl_shader_cache: Fix clang strict standard build issues
ReinUsesLisp
1
-3
/
+4
2019-05-21
gl_shader_cache: Use shared contexts to build shaders in parallel
ReinUsesLisp
1
-34
/
+82
2019-05-10
video_core/renderer_opengl/gl_shader_cache: Correct member initialization order
Lioncash
1
-1
/
+1
2019-04-23
Re added new lines at the end of files
FreddyFunk
1
-1
/
+1
2019-04-23
gl_shader_disk_cache: Use VectorVfsFile for the virtual precompiled shader cache file
unknown
1
-1
/
+11
2019-04-16
Document unsafe versions and add BlockCopyUnsafe
Fernando Sahmkow
1
-6
/
+7
2019-04-16
Use ReadBlockUnsafe for Shader Cache
Fernando Sahmkow
1
-5
/
+7
2019-04-14
gl_shader_decompiler: Use variable AOFFI on supported hardware
ReinUsesLisp
1
-27
/
+27
2019-04-07
Permit a Null Shader in case of a bad host_ptr.
Fernando Sahmkow
1
-0
/
+4
2019-04-06
video_core/texures/texture: Remove unnecessary includes
Lioncash
1
-0
/
+1
2019-03-28
gl_shader_manager: Remove unnecessary gl_shader_manager inclusion
Lioncash
1
-2
/
+0
2019-03-27
video_core: Amend constructor initializer list order where applicable
Lioncash
1
-6
/
+6
2019-03-21
gpu: Move GPUVAddr definition to common_types.
bunnei
1
-2
/
+2
2019-03-16
video_core: Refactor to use MemoryManager interface for all memory access.
bunnei
1
-20
/
+17
2019-03-15
gpu: Use host address for caching instead of guest address.
bunnei
1
-19
/
+24
2019-02-07
gl_shader_disk_cache: Use unordered containers
ReinUsesLisp
1
-3
/
+3
2019-02-07
gl_shader_cache: Fixup GLSL unique identifiers
ReinUsesLisp
1
-2
/
+2
2019-02-07
gl_shader_cache: Link loading screen with disk shader cache load
ReinUsesLisp
1
-3
/
+26
2019-02-07
gl_shader_cache: Set GL_PROGRAM_SEPARABLE to dumped shaders
ReinUsesLisp
1
-0
/
+1
2019-02-07
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
ReinUsesLisp
1
-1
/
+2
2019-02-07
gl_shader_disk_cache: Address miscellaneous feedback
ReinUsesLisp
1
-3
/
+3
2019-02-07
gl_shader_disk_cache: Pass return values returning instead of by parameters
ReinUsesLisp
1
-7
/
+5
2019-02-07
gl_shader_disk_cache: Save GLSL and entries into the precompiled file
ReinUsesLisp
1
-32
/
+39
2019-02-07
gl_shader_cache: Refactor to support disk shader cache
ReinUsesLisp
1
-105
/
+345
2019-02-07
rasterizer_interface: Add disk cache entry for the rasterizer
ReinUsesLisp
1
-0
/
+2
2019-02-03
video_core: Assert on invalid GPU to CPU address queries
ReinUsesLisp
1
-2
/
+4
2019-01-30
gl_shader_cache: Use explicit bindings
ReinUsesLisp
1
-63
/
+83
2019-01-30
gl_rasterizer: Implement global memory management
ReinUsesLisp
1
-3
/
+15
2019-01-15
video_core: Rename glsl_decompiler to gl_shader_decompiler
ReinUsesLisp
1
-1
/
+1
2019-01-15
video_core: Replace gl_shader_decompiler
ReinUsesLisp
1
-2
/
+6
2019-01-07
gl_shader_cache: Use dirty flags for shaders
ReinUsesLisp
1
-1
/
+5
2018-12-11
gl_shader_cache: Dehardcode constant in CalculateProgramSize()
Lioncash
1
-2
/
+2
2018-12-11
gl_shader_cache: Resolve truncation compiler warning
Lioncash
1
-1
/
+1
2018-12-09
Implemented a shader unique identifier.
Fernando Sahmkow
1
-0
/
+45
2018-11-20
shader_cache: Only lock covered instructions.
Markus Wick
1
-0
/
+1
2018-11-10
gl_shader_decompiler: Guard out of bound geometry shader input reads
ReinUsesLisp
1
-2
/
+6
2018-11-08
rasterizer_cache: Remove reliance on the System singleton
Lioncash
1
-1
/
+3
2018-10-29
video_core: Move OpenGL specific utils to its renderer
ReinUsesLisp
1
-2
/
+3
2018-10-22
Use standard UBO and fix/stylize the code
FernandoS27
1
-20
/
+0
2018-10-22
Cache uniform locations and restructure the implementation
FernandoS27
1
-8
/
+16
2018-10-22
Implemented Alpha Testing
FernandoS27
1
-0
/
+12
2018-10-07
gl_shader_decompiler: Implement geometry shaders
ReinUsesLisp
1
-5
/
+29
2018-09-23
Added glObjectLabels for renderdoc for textures and shader programs (#1384)
David
1
-0
/
+2
2018-09-15
Port #4182 from Citra: "Prefix all size_t with std::"
fearlessTobi
1
-3
/
+3
2018-09-09
video_core: fixed arithmetic overflow warnings & improved code style
Patrick Elsässer
1
-4
/
+4
2018-09-04
gl_shader_cache: Use an u32 for the binding point cache.
Markus Wick
1
-8
/
+8
2018-08-31
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
bunnei
1
-11
/
+7
2018-08-28
gl_shader_cache: Remove unused program_code vector in GetShaderAddress()
Lioncash
1
-2
/
+1
2018-08-28
renderer_opengl: Implement a new shader cache.
bunnei
1
-0
/
+131