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
/
shader_recompiler
/
backend
/
glasm
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
emit_glasm_context_get_set: Fix GetAttribute return value type.
ameerj
2021-12-25
1
-4
/
+4
*
glasm: Move implemented instructions from not_implemented.cpp
ameerj
2021-12-06
7
-169
/
+220
*
shader_recompiler: Adjust emit_context includes
ameerj
2021-12-06
15
-15
/
+15
*
shader_recompiler: Rename backend emit_context files
ameerj
2021-12-05
2
-0
/
+0
*
shader: Properly scale image reads and add GL SPIR-V support
ReinUsesLisp
2021-11-16
5
-2
/
+16
*
glsl/glasm: Pass and use scaling parameters in shaders
ReinUsesLisp
2021-11-16
3
-3
/
+7
*
gl_graphics_pipeline: Add downscale factor to shader uniforms
ameerj
2021-11-16
1
-2
/
+1
*
shader: Add IsTextureScaled opcode
ReinUsesLisp
2021-11-16
2
-0
/
+9
*
shader: Add integer division opcodes
ReinUsesLisp
2021-11-16
2
-0
/
+10
*
shader: Add resolution down factor opcode
ReinUsesLisp
2021-11-16
2
-0
/
+6
*
Shader Cahe: Fix Phi Nodes on GLASM.
Fernando Sahmkow
2021-11-02
1
-1
/
+1
*
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
Lioncash
2021-07-26
1
-1
/
+1
*
shader: Avoid usage of C++20 ranges to build in clang
ReinUsesLisp
2021-07-23
1
-2
/
+5
*
shader_recompiler, video_core: Resolve clang errors
lat9nq
2021-07-23
2
-3
/
+2
*
shader: GCC fmt 8.0.0 fixes
lat9nq
2021-07-23
1
-3
/
+5
*
opengl: Implement LOP.CC
ameerj
2021-07-23
1
-3
/
+27
*
glasm: Add passthrough geometry shader support
ReinUsesLisp
2021-07-23
2
-7
/
+26
*
shader: Rework varyings and implement passthrough geometry shaders
ReinUsesLisp
2021-07-23
3
-13
/
+14
*
shader: Remove IAbs64
ReinUsesLisp
2021-07-23
2
-5
/
+0
*
shader: Move loop safety tests to code emission
ReinUsesLisp
2021-07-23
4
-10
/
+18
*
glasm: Implement SetAttribute ViewportMask
ameerj
2021-07-23
2
-1
/
+10
*
shader: Split profile and runtime info headers
ReinUsesLisp
2021-07-23
4
-1
/
+4
*
shader: Add logging
ReinUsesLisp
2021-07-23
5
-10
/
+12
*
shader: Add shader loop safety check settings
lat9nq
2021-07-23
2
-0
/
+10
*
glasm: Use ARB_derivative_control conditionally
ReinUsesLisp
2021-07-23
2
-7
/
+29
*
emit_glasm_context_get_set: Remove unused variable
lat9nq
2021-07-23
1
-1
/
+0
*
shader,glasm: Implement legacy texcoord loads
ReinUsesLisp
2021-07-23
1
-2
/
+10
*
glasm: Implement legacy varyings
ReinUsesLisp
2021-07-23
1
-17
/
+56
*
shader: Add support for "negative" and unaligned offsets
ReinUsesLisp
2021-07-23
1
-0
/
+8
*
opengl: Declare fragment outputs even if they are not used
ReinUsesLisp
2021-07-23
2
-9
/
+4
*
glasm: Fix immediate texture coordinate
ReinUsesLisp
2021-07-23
1
-0
/
+1
*
glasm: Reduce reg allocation leaks from an exception to a log
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Use integer lod for TXQ
ReinUsesLisp
2021-07-23
2
-2
/
+2
*
glasm: Fix global memory fallbacks
ReinUsesLisp
2021-07-23
1
-9
/
+10
*
Revert "glasm: Skip phi moves on undefined instructions"
ReinUsesLisp
2021-07-23
1
-3
/
+1
*
glasm: Remove unintentional '\n' on Undef32
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Use storage buffers instead of global memory when possible
ReinUsesLisp
2021-07-23
4
-369
/
+380
*
glasm: Implement Y direction
ReinUsesLisp
2021-07-23
4
-3
/
+9
*
glasm: Skip phi moves on undefined instructions
ReinUsesLisp
2021-07-23
1
-1
/
+3
*
glasm: Implement undef instructions
ReinUsesLisp
2021-07-23
2
-15
/
+15
*
glasm: Fix global memory callbacks
ReinUsesLisp
2021-07-23
1
-5
/
+6
*
glasm: Release phi node registers after they are no longer needed
ReinUsesLisp
2021-07-23
2
-38
/
+54
*
glasm: Fix INeg32 on negative immediates
ReinUsesLisp
2021-07-23
1
-1
/
+5
*
glasm: Remove unnecessary value types
ReinUsesLisp
2021-07-23
3
-47
/
+6
*
glasm: Throw when there are register leaks
ReinUsesLisp
2021-07-23
2
-0
/
+7
*
glasm: Catch more register leaks
ReinUsesLisp
2021-07-23
8
-41
/
+114
*
glasm: Fix usage counting on phi nodes
ReinUsesLisp
2021-07-23
3
-8
/
+22
*
glasm: Implement global memory fallbacks
ReinUsesLisp
2021-07-23
2
-50
/
+89
*
glasm: Implement int64 add and subtract
ReinUsesLisp
2021-07-23
2
-8
/
+6
*
emit_glasm_context_get_set: Remove unused variable
lat9nq
2021-07-23
1
-1
/
+0
*
glasm: Implement indirect attribute loads
ReinUsesLisp
2021-07-23
4
-6
/
+65
*
glasm: Implement image atomics
ReinUsesLisp
2021-07-23
2
-165
/
+153
*
glasm: Reorder unreachable image atomic insts
ReinUsesLisp
2021-07-23
1
-66
/
+66
*
glasm: Implement gl_Layer stores
ReinUsesLisp
2021-07-23
1
-0
/
+7
*
glasm: Implement SampleId
ReinUsesLisp
2021-07-23
2
-3
/
+3
*
glasm: Implement IsHelperInvocation
ReinUsesLisp
2021-07-23
2
-3
/
+3
*
glasm: Fix EmitVertex's optimization
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
gl_shader_cache,glasm: Conditionally use typeless image reads extension
ReinUsesLisp
2021-07-23
1
-2
/
+4
*
glasm: Implement forced early Z
ReinUsesLisp
2021-07-23
1
-2
/
+6
*
glasm: Simplify patch reads
ReinUsesLisp
2021-07-23
1
-5
/
+2
*
glasm: Fix output patch reads
ReinUsesLisp
2021-07-23
2
-13
/
+22
*
shader: Split profile and runtime information in separate structs
ReinUsesLisp
2021-07-23
4
-33
/
+38
*
emit_glasm_context_get_and_set.cpp: Add missing semicolons
ameerj
2021-07-23
1
-2
/
+2
*
glasm: Fix patch attribute declarations
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Implement FSWZADD
ameerj
2021-07-23
3
-4
/
+28
*
glasm: Implement PrimitiveId attribute read
ReinUsesLisp
2021-07-23
1
-0
/
+3
*
glasm: Implement clip distance stores
ReinUsesLisp
2021-07-23
2
-0
/
+15
*
glasm: Fix tessellation input attributes
ReinUsesLisp
2021-07-23
1
-2
/
+5
*
glasm: Add missing semicolon on tesscoord reading
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Fix tessellation headers
ReinUsesLisp
2021-07-23
1
-2
/
+2
*
glasm: Add tessellation shader declarations
ReinUsesLisp
2021-07-23
1
-0
/
+35
*
glasm: Implement TessellationEvaluationPoint
ReinUsesLisp
2021-07-23
1
-0
/
+4
*
glasm: Implement patch memory
ReinUsesLisp
2021-07-23
3
-6
/
+51
*
glasm: Fix InvocationId declaration
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Implement InvocationId
ReinUsesLisp
2021-07-23
2
-2
/
+5
*
glasm: Optimize EmitVertex into EMIT
ReinUsesLisp
2021-07-23
1
-1
/
+5
*
glasm: Implement geometry shader attribute reads
ReinUsesLisp
2021-07-23
2
-4
/
+18
*
glasm: Properly declare attributes on geometry programs
ReinUsesLisp
2021-07-23
3
-6
/
+14
*
glasm: Declare geometry program headers
ReinUsesLisp
2021-07-23
1
-0
/
+35
*
glasm: Fix potential aliasing bug on cube array samples
ReinUsesLisp
2021-07-23
2
-35
/
+44
*
glasm: Implement ImageWrite
ReinUsesLisp
2021-07-23
1
-4
/
+7
*
glasm: Implement ImageRead
ReinUsesLisp
2021-07-23
4
-4
/
+56
*
glasm: Implement EmitVertex and EndPrimitive
ReinUsesLisp
2021-07-23
2
-4
/
+8
*
glasm: Implement ImageGradient
ReinUsesLisp
2021-07-23
2
-7
/
+65
*
glasm: Implement 64-bit shifts
ReinUsesLisp
2021-07-23
2
-12
/
+14
*
glasm: Implement barriers
ReinUsesLisp
2021-07-23
1
-3
/
+3
*
glasm: Fix compute stage name
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Fix phi instruction types
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Implement PREC on relevant instructions
ReinUsesLisp
2021-07-23
1
-6
/
+12
*
glasm: Implement stores to gl_ViewportIndex
ReinUsesLisp
2021-07-23
4
-7
/
+29
*
glasm: Implement gl_PointSize stores
ReinUsesLisp
2021-07-23
1
-0
/
+3
*
glasm: Implement gl_PointCoord
ReinUsesLisp
2021-07-23
1
-0
/
+4
*
glasm: Implement ImageQueryLod
ReinUsesLisp
2021-07-23
1
-3
/
+5
*
glasm: Implement ImageFetch
ReinUsesLisp
2021-07-23
4
-13
/
+38
*
glasm: Implement IADD.CC
ameerj
2021-07-23
1
-1
/
+26
*
glasm: Implement BFE.CC
ReinUsesLisp
2021-07-23
1
-0
/
+8
*
glasm: Implement SelectU1
ReinUsesLisp
2021-07-23
2
-4
/
+5
*
glasm: Implement gl_WorkGroupID
ReinUsesLisp
2021-07-23
2
-3
/
+3
*
glasm: Implement TXQ and improve texture info reads
ReinUsesLisp
2021-07-23
2
-50
/
+51
*
glasm: Implement gl_FrongFacing attribute
ReinUsesLisp
2021-07-23
1
-0
/
+3
*
glasm: Support textures used in more than one stage
ReinUsesLisp
2021-07-23
3
-4
/
+24
*
glasm: Implement textureGather instructions
ReinUsesLisp
2021-07-23
2
-15
/
+97
*
glasm: Implement gl_FragDepth and gl_SampleMask stores
ReinUsesLisp
2021-07-23
2
-5
/
+5
*
glasm: Do not alias ConditionRef for now
ReinUsesLisp
2021-07-23
2
-3
/
+2
*
shader: Read branch conditions from an instruction
ReinUsesLisp
2021-07-23
5
-3
/
+9
*
glasm: Implement InstanceId and VertexId
ReinUsesLisp
2021-07-23
1
-0
/
+6
*
glasm: Add missing return value on move assignment
ReinUsesLisp
2021-07-23
1
-0
/
+1
*
glasm: Fix aliased bitcasts ref counting
ReinUsesLisp
2021-07-23
3
-13
/
+42
*
glasm: Remove unintentional comma on vector insert
ReinUsesLisp
2021-07-23
1
-1
/
+1
*
glasm: Implement TEX and TEXS instructions
ReinUsesLisp
2021-07-23
4
-41
/
+252
*
glasm: Add support for non-2D texture samples
ReinUsesLisp
2021-07-23
1
-4
/
+26
*
glasm: Reorder unreachable image instructions to the bottom
ReinUsesLisp
2021-07-23
1
-97
/
+97
*
glasm: Add support for texture offsets
ReinUsesLisp
2021-07-23
1
-11
/
+15
*
glasm: Improve texture sampling instructions
ReinUsesLisp
2021-07-23
2
-50
/
+70
*
emit_glasm: Enable ARB_draw_buffers when needed
ReinUsesLisp
2021-07-23
2
-1
/
+5
*
emit_glasm: Add support for reading position attributes
ReinUsesLisp
2021-07-23
1
-3
/
+13
*
shader_recompiler: GCC fixes
lat9nq
2021-07-23
2
-9
/
+9
*
glasm: Implement rest of shared mem
ameerj
2021-07-23
2
-35
/
+29
*
glasm: Implement derivative instructions on GLASM
ReinUsesLisp
2021-07-23
2
-12
/
+12
*
glasm: Initial (broken) implementation of TEX on GLASM
ReinUsesLisp
2021-07-23
3
-299
/
+386
*
glasm: Implement some graphics instructions on GLASM
ReinUsesLisp
2021-07-23
2
-6
/
+5
*
glasm: Add Void type to GLASM values
ReinUsesLisp
2021-07-23
3
-0
/
+15
*
glasm: Add graphics specific shader declarations to GLASM
ReinUsesLisp
2021-07-23
2
-6
/
+63
*
glasm: Implement local memory for glasm
ameerj
2021-07-23
4
-9
/
+12
*
glasm: Initial implementation of phi nodes on GLASM
ReinUsesLisp
2021-07-23
3
-8
/
+81
*
glasm: Write result to scalar on integer comparison instructions
ReinUsesLisp
2021-07-23
1
-10
/
+10
*
glasm: Declare NV_shader_thread_group when needed
ReinUsesLisp
2021-07-23
1
-3
/
+4
*
glasm: Rework control flow introducing a syntax list
ReinUsesLisp
2021-07-23
4
-39
/
+42
*
glasm: Implement Storage atomics
ameerj
2021-07-23
5
-109
/
+156
*
glasm: Ensure reg alloc order across compilers on GLASM
ReinUsesLisp
2021-07-23
1
-11
/
+14
*
glasm: Enable unintentionally disabled register aliasing on GLASM
ReinUsesLisp
2021-07-23
1
-16
/
+11
*
glasm: Review all GLASM insts to be aware of register aliasing
ReinUsesLisp
2021-07-23
4
-20
/
+51
*
glasm: Implement shuffle and vote instructions on GLASM
ReinUsesLisp
2021-07-23
6
-97
/
+158
*
glasm: Add MUFU instructions to GLASM
ReinUsesLisp
2021-07-23
2
-21
/
+22
*
glasm: Implement IAbs64 and INeg64 on GLASM
ReinUsesLisp
2021-07-23
2
-6
/
+6
*
glasm: Properly clamp Fp64 on GLASM
ReinUsesLisp
2021-07-23
1
-6
/
+6
*
glasm: Fix register allocation when moving immediate on GLASM
ReinUsesLisp
2021-07-23
3
-42
/
+89
*
glasm: Implement SelectU64 on GLASM
ReinUsesLisp
2021-07-23
2
-4
/
+20
*
glasm: Fix clamps so the min value has priority on NAN on GLASM
ReinUsesLisp
2021-07-23
1
-12
/
+15
*
glasm: Fix moving U64 immediates to registers in GLASM
ReinUsesLisp
2021-07-23
2
-3
/
+4
*
glasm: Implement storage atomic ops
ameerj
2021-07-23
4
-305
/
+358
*
glasm: Add conversion instructions to GLASM
ReinUsesLisp
2021-07-23
9
-282
/
+351
*
glasm: Add fp min/max insts and fix store for fp64 on GLASM
ReinUsesLisp
2021-07-23
2
-10
/
+8
*
glasm: Add logical instructions on GLASM
ReinUsesLisp
2021-07-23
2
-12
/
+12
*
glasm: Remove duplicated Fp64 pack instructions on GLASM
ReinUsesLisp
2021-07-23
1
-8
/
+0
*
glasm: Remove unnecesary new white space on Clamp GLASM
ReinUsesLisp
2021-07-23
1
-4
/
+4
*
glasm: Add floating-point comparisons on GLASM
ReinUsesLisp
2021-07-23
3
-120
/
+116
*
emit_glasm: Implement more integer alu ops
ameerj
2021-07-23
2
-47
/
+41
*
glasm: Reimplement bitwise ops and BFI/BFE
ameerj
2021-07-23
4
-88
/
+108
*
glasm: Initial GLASM fp64 support
ReinUsesLisp
2021-07-23
9
-55
/
+152
*
glasm: Implement GLASM fp16 packing and move bitwise insns
ReinUsesLisp
2021-07-23
4
-66
/
+77
*
glasm: Remove unused functions left from rebase
ReinUsesLisp
2021-07-23
1
-12
/
+0
*
glasm: Specify namespace when using FormatTo
ReinUsesLisp
2021-07-23
1
-6
/
+6
*
glasm: Implement more GLASM composite instructions
ReinUsesLisp
2021-07-23
2
-54
/
+63
*
glasm: Make GLASM aware of types
ReinUsesLisp
2021-07-23
12
-1244
/
+1380
*
glasm: Use CMP.S for Select32
ameerj
2021-07-23
3
-12
/
+8
*
glasm: Implement more logical ops
ameerj
2021-07-23
2
-5
/
+5
*
glasm: Implement BFI, BFE
ameerj
2021-07-23
4
-138
/
+164
*
glasm: Use BitField instead of C bitfields
ReinUsesLisp
2021-07-23
2
-8
/
+12
*
glasm: Remove unused argument in identity instructions on GLASM
ReinUsesLisp
2021-07-23
1
-7
/
+7
*
glasm: Implement basic GLASM instructions
ReinUsesLisp
2021-07-23
9
-840
/
+1167
*
glasm: Changes to GLASM register allocator and emit context
ReinUsesLisp
2021-07-23
4
-26
/
+64
*
glasm: Add GLASM backend infrastructure
ReinUsesLisp
2021-07-23
26
-0
/
+3079