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
/
shader
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2019-01-15
shader_ir: Initial implementation
ReinUsesLisp
28
-0
/
+1542
2018-01-13
Remove references to PICA and rasterizers in video_core
James Rowe
9
-2453
/
+0
2017-09-17
Improved performance of FromAttributeBuffer
Huw Pascoe
1
-1
/
+2
2017-08-19
pica/shader/jit: implement SETEMIT and EMIT
wwylele
2
-2
/
+49
2017-08-19
correct constness
wwylele
2
-2
/
+4
2017-08-19
pica/shader/interpreter: implement SETEMIT and EMIT
wwylele
1
-0
/
+16
2017-08-19
pica/shader: extend UnitState for GS
wwylele
2
-0
/
+84
2017-07-27
pica/shader_interpreter: fix off-by-one in LOOP
wwylele
1
-1
/
+1
2017-06-17
Stop using reserved operator names (and/or/xor) with Xbyak
Yuri Kunde Schlesner
1
-13
/
+13
2017-05-11
Pica: Set program code / swizzle data limit to 4096
Jannik Vogel
5
-13
/
+16
2017-02-27
Doxygen: Amend minor issues (#2593)
Mat M
2
-2
/
+4
2017-02-12
video_core/shader: Document sanitized MUL operation
Yuri Kunde Schlesner
1
-0
/
+8
2017-02-11
video_core: Fix benign out-of-bounds indexing of array (#2553)
Yuri Kunde Schlesner
1
-2
/
+1
2017-02-09
VideoCore: Split regs.h inclusions
Yuri Kunde Schlesner
2
-2
/
+4
2017-02-04
VideoCore: Move Regs to its own file
Yuri Kunde Schlesner
2
-2
/
+2
2017-02-04
VideoCore: Split shader regs from Regs struct
Yuri Kunde Schlesner
4
-6
/
+6
2017-02-04
VideoCore: Split rasterizer regs from Regs struct
Yuri Kunde Schlesner
2
-13
/
+13
2017-02-03
ShaderJIT: add 16 dummy bytes at the bottom of the stack
wwylele
1
-2
/
+5
2017-01-31
Common/x64: remove legacy emitter and abi (#2504)
Weiyi Wang
1
-1
/
+0
2017-01-31
shader_jit_x64_compiler: esi and edi should be persistent (#2500)
Merry
1
-0
/
+2
2017-01-30
VideoCore: Extract swrast-specific data from OutputVertex
Yuri Kunde Schlesner
2
-37
/
+14
2017-01-30
VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer
Yuri Kunde Schlesner
1
-9
/
+14
2017-01-30
VideoCore: Split shader output writing from semantic loading
Yuri Kunde Schlesner
2
-18
/
+16
2017-01-30
VideoCore: Consistently use shader configuration to load attributes
Yuri Kunde Schlesner
4
-12
/
+12
2017-01-30
VideoCore: Rename some types to more accurate names
Yuri Kunde Schlesner
4
-6
/
+6
2017-01-26
VideoCore/Shader: Move entry_point to SetupBatch
Yuri Kunde Schlesner
5
-22
/
+23
2017-01-26
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
Yuri Kunde Schlesner
5
-40
/
+36
2017-01-26
Shader: Remove OutputRegisters struct
Yuri Kunde Schlesner
3
-19
/
+13
2017-01-26
Shader: Initialize conditional_code in interpreter
Yuri Kunde Schlesner
2
-3
/
+3
2017-01-26
Shader: Don't read ShaderSetup from global state
Yuri Kunde Schlesner
1
-3
/
+3
2017-01-26
shader_jit_x64: Don't read program from global state
Yuri Kunde Schlesner
3
-22
/
+22
2017-01-26
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
Yuri Kunde Schlesner
4
-19
/
+10
2017-01-26
VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines
Yuri Kunde Schlesner
6
-96
/
+150
2017-01-26
VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h}
Yuri Kunde Schlesner
3
-2
/
+2
2017-01-26
VideoCore/Shader: Split shader uniform state and shader engine
Yuri Kunde Schlesner
3
-16
/
+46
2017-01-26
VideoCore/Shader: Add constness to methods
Yuri Kunde Schlesner
2
-4
/
+4
2017-01-26
VideoCore/Shader: Use only entry_point as ShaderSetup param
Yuri Kunde Schlesner
2
-9
/
+11
2017-01-26
VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
Yuri Kunde Schlesner
2
-11
/
+8
2017-01-26
VideoCore/Shader: Extract input vertex loading code into function
Yuri Kunde Schlesner
2
-20
/
+22
2017-01-23
video_core: fix shader.cpp signed / unsigned warning
Kloen
1
-2
/
+2
2017-01-04
Fix some warnings (#2399)
Jonathan Hao
1
-2
/
+0
2016-12-16
VideoCore/Shader: Extract DebugData out from UnitState
Yuri Kunde Schlesner
7
-101
/
+97
2016-12-16
Remove unnecessary cast
Yuri Kunde Schlesner
1
-3
/
+1
2016-12-16
VideoCore/Shader: Extract evaluate_condition lambda to function scope
Yuri Kunde Schlesner
1
-26
/
+24
2016-12-16
VideoCore/Shader: Extract call lambda up a scope and remove unused param
Yuri Kunde Schlesner
1
-21
/
+17
2016-12-16
VideoCore/Shader: Remove dynamic control flow in (Get)UniformOffset
Yuri Kunde Schlesner
2
-18
/
+11
2016-12-16
VideoCore/Shader: Move DebugData to a separate file
Yuri Kunde Schlesner
3
-172
/
+188
2016-12-15
shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexing
Yuri Kunde Schlesner
1
-1
/
+1
2016-12-15
VideoCore: Eliminate an unnecessary copy in the drawcall loop
Yuri Kunde Schlesner
2
-2
/
+2
2016-12-15
shader_jit_x64: Use Reg32 for LOOP* registers, eliminating casts
Yuri Kunde Schlesner
1
-16
/
+16
2016-12-15
VideoCore: Convert x64 shader JIT to use Xbyak for assembly
Yuri Kunde Schlesner
2
-223
/
+225
2016-12-04
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
Jannik Vogel
1
-1
/
+1
2016-12-02
shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shifted
Jannik Vogel
1
-6
/
+9
2016-09-30
VideoCore: Shader interpreter cleanups
Yuri Kunde Schlesner
1
-32
/
+42
2016-09-30
VideoCore: Fix out-of-bounds read in ShaderSetup::ProduceDebugInfo
Yuri Kunde Schlesner
1
-3
/
+1
2016-09-21
Remove special rules for Windows.h and library includes
Yuri Kunde Schlesner
1
-1
/
+1
2016-09-21
Use negative priorities to avoid special-casing the self-include
Yuri Kunde Schlesner
3
-3
/
+3
2016-09-21
Remove empty newlines in #include blocks.
Emmanuel Gil Peyrot
5
-22
/
+3
2016-09-19
Manually tweak source formatting and then re-run clang-format
Yuri Kunde Schlesner
4
-9
/
+6
2016-09-18
Sources: Run clang-format on everything.
Emmanuel Gil Peyrot
6
-311
/
+335
2016-09-16
VideoCore: Fix dangling lambda context in shader interpreter
Yuri Kunde Schlesner
1
-1
/
+1
2016-05-16
Retrieve shader result from new OutputRegisters-type
Jannik Vogel
3
-56
/
+68
2016-05-13
Use new shader-jit signature for interpreter
Jannik Vogel
3
-8
/
+8
2016-05-13
Refactor access to state in shader-jit
Jannik Vogel
4
-24
/
+42
2016-05-12
Move program_counter and call_stack from UnitState to interpreter
Jannik Vogel
3
-45
/
+42
2016-05-12
Move default_attributes into Pica state
Jannik Vogel
1
-2
/
+0
2016-05-11
Turn ShaderSetup into struct
Jannik Vogel
2
-52
/
+53
2016-05-11
Pica: Add tc0.w to OutputVertex
Jannik Vogel
1
-1
/
+2
2016-05-03
Pica: Replace logic in shader.cpp with loop
Jannik Vogel
1
-34
/
+4
2016-04-30
VideoCore: Run include-what-you-use and fix most includes.
Emmanuel Gil Peyrot
6
-14
/
+43
2016-04-29
Common: Remove section measurement from profiler (#1731)
Yuri Kunde Schlesner
1
-3
/
+0
2016-04-28
Refactor: Extract VertexLoader from command_processor.cpp.
Henrik Rydgard
1
-1
/
+1
2016-04-24
shader: Shader size is long uint, not uint.
Sam Spilsbury
1
-1
/
+1
2016-04-24
shader: Handle non-CALL opcodes with a break
Sam Spilsbury
1
-0
/
+2
2016-04-24
shader: Format string must be provided inline and not as a variable
Sam Spilsbury
1
-1
/
+1
2016-04-14
shader_jit_x64: Rename RuntimeAssert to Compile_Assert.
bunnei
2
-5
/
+5
2016-04-14
shader_jit_x64.cpp: Rename JitCompiler to JitShader.
bunnei
3
-92
/
+92
2016-04-14
shader_jit_x64: Free memory that's no longer needed after compilation.
bunnei
1
-0
/
+6
2016-04-14
shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses.
bunnei
2
-5
/
+8
2016-04-14
shader_jit_x64: Use CALL/RET instead of JMP for subroutines.
bunnei
1
-17
/
+7
2016-04-14
shader_jit_x64: Separate initialization and code generation for readability.
bunnei
1
-9
/
+8
2016-04-14
shader_jit_x64: Get rid of unnecessary last_program_counter variable.
bunnei
2
-6
/
+2
2016-04-14
shader_jit_x64: Execute certain asserts at runtime.
bunnei
2
-5
/
+19
2016-04-14
shader: Remove unused 'state' argument from 'Setup' function.
bunnei
2
-3
/
+2
2016-04-14
shader_jit_x64: Specify shader main offset at runtime.
bunnei
3
-10
/
+6
2016-04-14
shader_jit_x64: Allocate each program independently and persist for emu session.
bunnei
3
-38
/
+28
2016-04-14
shader_jit_x64: Rewrite flow control to support arbitrary CALL and JMP instructions.
bunnei
2
-35
/
+119
2016-04-14
shader_jit_x64: Fix strict memory aliasing issues.
bunnei
1
-1
/
+3
2016-04-05
Common: Remove Common::make_unique, use std::make_unique
MerryMage
1
-1
/
+0
2016-03-17
video_core: Don't cast away const
Lioncash
1
-1
/
+1
2016-03-17
shader_interpreter: use std::inner_product for the dot product
Lioncash
1
-5
/
+3
2016-03-15
PICA: Fix MAD/MADI encoding
Jannik Vogel
2
-29
/
+33
2016-03-14
Respect vs output map
Jannik Vogel
1
-4
/
+14
2016-03-12
shader_jit_x64: Clear cache after code space fills up.
bunnei
3
-2
/
+19
2016-03-12
shader_jit_x64: Make assert outputs more useful & cleanup formatting.
bunnei
1
-4
/
+7
2016-03-12
shader: Update log message to use proper log class.
bunnei
1
-1
/
+1
2016-03-09
Common: Get rid of alignment macros
Lioncash
1
-4
/
+4
2016-03-03
Add immediate mode vertex submission
Dwayne Slater
4
-2
/
+22
2016-02-05
pica: Implement decoding of basic fragment lighting components.
bunnei
2
-5
/
+9
2016-01-25
Shader: Implement "invert condition" feature of IFU instruction
Yuri Kunde Schlesner
2
-2
/
+5
2016-01-24
Shader JIT: Fix off-by-one error when compiling JMPs
Yuri Kunde Schlesner
2
-6
/
+6
2015-09-11
video_core: Reorganize headers
Lioncash
3
-6
/
+4
2015-09-11
video_core: Remove unnecessary includes from headers
Lioncash
1
-2
/
+0
2015-09-10
video_core: Remove unused variables
Lioncash
2
-2
/
+0
2015-09-07
Shader JIT: Use SCALE constant from emitter
aroulin
1
-4
/
+4
2015-09-07
Shader: Fix size_t to int casts of register offsets
aroulin
2
-15
/
+21
2015-09-02
video_core: Fix format specifiers warnings
aroulin
1
-1
/
+2
2015-09-01
x64: Proper stack alignment in shader JIT function calls
aroulin
2
-28
/
+18
2015-08-31
Shader JIT: Fix SGE/SGEI NaN behavior
aroulin
1
-3
/
+3
2015-08-27
Shader JIT: Fix float to integer rounding in MOVA
aroulin
1
-2
/
+2
2015-08-27
Shader JIT: ifdef out reference to ifdef'd out shader_map
archshift
1
-0
/
+2
2015-08-25
Integrate the MicroProfile profiling library
Yuri Kunde Schlesner
1
-0
/
+3
2015-08-24
Shader JIT: Tiny micro-optimization in DPH
Yuri Kunde Schlesner
1
-4
/
+4
2015-08-24
Shaders: Fix multiplications between 0.0 and inf
Yuri Kunde Schlesner
2
-39
/
+45
2015-08-24
Shaders: Explicitly conform to PICA semantics in MAX/MIN
Yuri Kunde Schlesner
2
-2
/
+10
2015-08-24
Shader JIT: Add name to second scratch register (XMM4)
Yuri Kunde Schlesner
1
-3
/
+5
2015-08-24
shader_jit: Replace two MDisp usages with MatR
Lioncash
1
-2
/
+2
2015-08-24
Shader JIT: Fix CMP NaN behavior to match hardware
Yuri Kunde Schlesner
1
-8
/
+23
2015-08-23
Shader: Use std::sqrt for float instead of sqrt
aroulin
1
-1
/
+1
2015-08-23
Shader: RCP and RSQ computes only the 1st component
aroulin
2
-10
/
+10
2015-08-22
Shader: implement DPH/DPHI in JIT
aroulin
2
-2
/
+36
2015-08-22
Shader: implement DPH/DPHI in interpreter
aroulin
1
-1
/
+8
2015-08-19
Shader: implement SGE, SGEI and SLT in JIT
aroulin
2
-15
/
+36
2015-08-19
Shader: implement SGE, SGEI in interpreter
aroulin
1
-0
/
+14
2015-08-19
Shader: Save caller-saved registers in JIT before a CALL
aroulin
2
-0
/
+33
2015-08-17
Shader: implement EX2 and LG2 in JIT
aroulin
2
-2
/
+22
2015-08-16
Shader: implement EX2 and LG2 in interpreter
aroulin
1
-0
/
+36
2015-08-16
Build fix for Debug configurations.
Tony Wasserka
1
-1
/
+1
2015-08-16
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
Tony Wasserka
5
-37
/
+322
2015-08-16
citra-qt: Improve shader debugger.
Tony Wasserka
1
-6
/
+0
2015-08-16
Shader: Use a POD struct for registers.
bunnei
5
-40
/
+43
2015-08-16
Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.
bunnei
1
-6
/
+5
2015-08-16
Common: Cleanup CPU capability detection code.
bunnei
1
-5
/
+5
2015-08-16
Common: Move cpu_detect to x64 directory.
bunnei
1
-2
/
+1
2015-08-16
x64: Refactor to remove fake interfaces and general cleanups.
bunnei
5
-144
/
+22
2015-08-16
JIT: Support negative address offsets.
bunnei
1
-26
/
+25
2015-08-16
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
bunnei
6
-2
/
+924
2015-08-15
Common: Added MurmurHash3 hash function for general-purpose use.
bunnei
1
-1
/
+1
2015-08-15
Shader: Define a common interface for running vertex shader programs.
bunnei
4
-184
/
+278
2015-08-15
Shader: Move shader code to its own subdirectory, "shader".
bunnei
2
-0
/
+701