Lioncash
1357724cd9
vertex_loader: Add constructors to facilitate immediate and two-step initialization
10 years ago
Lioncash
769f4a7018
vertex_loader: initialize_num_total_attributes.
Keeps the public API sane.
10 years ago
Lioncash
8ea5e7dfb5
vertex_loader: Use std::array instead of raw C arrays
10 years ago
Lioncash
a286b61f75
vertex_loader: Correct header ordering
10 years ago
Alexander Laties
0a31e373f1
fixup simple type conversions where possible
10 years ago
Emmanuel Gil Peyrot
aa4d4ff23c
Frontends, VideoCore: Move glad initialisation to the frontend
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the
default function loader, and fixes a crash when using apitrace with an
EGL context.
On Qt we will need to migrate from QGLWidget to QOpenGLWidget and
QOpenGLContext before we can use gladLoadGLLoader() instead of
gladLoadGL(), since the former doesn’t expose a function loader.
10 years ago
Jannik Vogel
7a77b8356c
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
10 years ago
Jannik Vogel
5ec1140f8b
OpenGL: Don't copy const_color (Reverts #1745 )
10 years ago
Jannik Vogel
696cb197a5
Pica: Replace logic in shader.cpp with loop
10 years ago
Jannik Vogel
7e0d6903ff
OpenGL: Copy TevStageConfig using a loop. Fixes bug: const_color not copied
10 years ago
Jannik Vogel
aab41604f7
OpenGL: border_color was never set. Fixed. ( #1740 )
10 years ago
Emmanuel Gil Peyrot
691a42fe98
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Jannik Vogel
49bfe9bf91
Remove TGA dumper
10 years ago
Yuri Kunde Schlesner
e3a8292495
Common: Remove section measurement from profiler ( #1731 )
This has been entirely superseded by MicroProfile. The rest of the code
can go when a simpler frametime/FPS meter is added to the GUI.
10 years ago
Henrik Rydgard
a86d7cacc1
Move and rename the MemoryAccesses class to MemoryAccessTracker.
10 years ago
Henrik Rydgard
a442ee07f4
Debugger fix
10 years ago
Henrik Rydgard
251f29dd7f
Optimize the vertex loader, nearly doubling its speed.
10 years ago
Henrik Rydgard
2403e86cbb
Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached).
10 years ago
Henrik Rydgard
d00e2340c6
Move "&" to their proper place, add missing includes and make some properly relative.
10 years ago
Henrik Rydgard
47ff008817
Refactor: Extract VertexLoader from command_processor.cpp.
Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached.
10 years ago
Henrik Rydgard
0cf15f64ef
Remove late accesses to attribute_config
10 years ago
Sam Spilsbury
656a442433
shader: Shader size is long uint, not uint.
10 years ago
Sam Spilsbury
c6709d97bc
shader: Handle non-CALL opcodes with a break
10 years ago
Sam Spilsbury
bbffa6ad69
shader: Format string must be provided inline and not as a variable
10 years ago
Henrik Rydgard
01a1555b5d
Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.
10 years ago
Sam Spilsbury
39d4994c15
pica: Handle default lighting case
10 years ago
tfarley
562f36a144
HWRasterizer: reorder declarations to match defs
10 years ago
tfarley
3268cab26b
HWRasterizer: sync specular uniform for new shaders
10 years ago
tfarley
22f3a7e94c
HWRasterizer: Texture forwarding
10 years ago
tfarley
e46d086189
Config: Add scaled resolution option
10 years ago
Jannik Vogel
e2b63a2dd7
Rasterizer: Allow all blend factors for alpha blend-func
10 years ago
Lioncash
4501a9eb50
debug_utils: use std::make_unique for initializing PicaTrace
10 years ago
bunnei
d7fe2784cc
shader_jit_x64: Rename RuntimeAssert to Compile_Assert.
10 years ago
bunnei
3f623b2561
shader_jit_x64.cpp: Rename JitCompiler to JitShader.
10 years ago
bunnei
847fb951e2
shader_jit_x64: Free memory that's no longer needed after compilation.
10 years ago
bunnei
60aa72e117
shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses.
10 years ago
bunnei
60749f2cda
shader_jit_x64: Use CALL/RET instead of JMP for subroutines.
10 years ago
bunnei
1d45b57939
shader_jit_x64: Separate initialization and code generation for readability.
10 years ago
bunnei
6e0319eec9
shader_jit_x64: Get rid of unnecessary last_program_counter variable.
10 years ago
bunnei
f3afe24594
shader_jit_x64: Execute certain asserts at runtime.
- This is because we compile the full shader code space, and therefore its common to compile malformed instructions.
10 years ago
bunnei
ffcf7ecee9
shader: Remove unused 'state' argument from 'Setup' function.
10 years ago
bunnei
a5a74eb121
shader_jit_x64: Specify shader main offset at runtime.
10 years ago
bunnei
c9d10de644
shader_jit_x64: Allocate each program independently and persist for emu session.
10 years ago
bunnei
4632791a40
shader_jit_x64: Rewrite flow control to support arbitrary CALL and JMP instructions.
10 years ago
bunnei
135aec7bea
shader_jit_x64: Fix strict memory aliasing issues.
10 years ago
Lioncash
a4120ca66c
file_util: Don't expose IOFile internals through the API
10 years ago
Jannik Vogel
ff7c798d86
Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)
10 years ago
Jannik Vogel
0ad050f85d
OpenGL: Implement color combiner Operation::Dot3_RGB
10 years ago
Jannik Vogel
35a92b4097
OpenGL: Respect buffer-write allow registers
10 years ago
Jannik Vogel
c6bbc41984
OpenGL: Split buffer-write mask sync into seperate functions
10 years ago