Jannik Vogel
8655efef3e
OpenGL: Only update depth uniforms if the depth changed
10 years ago
Jannik Vogel
dc25f50017
OpenGL: value-initialize variables which cause uninitialised access otherwise
10 years ago
Jannik Vogel
ad0acfea14
Move program_counter and call_stack from UnitState to interpreter
10 years ago
Jannik Vogel
101eb11369
Move default_attributes into Pica state
10 years ago
Jannik Vogel
acfb5257dd
Turn ShaderSetup into struct
10 years ago
Jannik Vogel
833799a328
OpenGL: Implement texture type 3
10 years ago
Jannik Vogel
e149c3cad4
Rasterizer: Implement texture type 3
10 years ago
Jannik Vogel
76be1439f6
Pica: Add tc0.w to OutputVertex
10 years ago
Jannik Vogel
02a17627f5
Pica: Add texture type to state
10 years ago
Lioncash
4b5da9b606
gl_rasterizer: Fix compilation for debug builds
10 years ago
Jannik Vogel
1f3ecfa49a
OpenGL: Implement W-Buffers and fix depth-mapping
10 years ago
Jannik Vogel
da761012b9
Pica: Implement W-Buffer in SW rasterizer
10 years ago
Alexander Laties
17e9bc5392
fixup simple type conversions where possible
10 years ago
Emmanuel Gil Peyrot
f20454b97c
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
db061e0568
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
10 years ago
Jannik Vogel
b360295880
Pica: Use a union for PicaShaderConfig
10 years ago
Jannik Vogel
9936dc107f
Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)
10 years ago
Jannik Vogel
386604cd07
Pica: Make PicaShaderConfig trivially_copyable and clear it before use
10 years ago
Jannik Vogel
8f354eb8a7
OpenGL: Don't copy const_color (Reverts #1745 )
10 years ago
Jannik Vogel
22426f3e89
Pica: Replace logic in shader.cpp with loop
10 years ago
Jannik Vogel
71ec65341b
OpenGL: Copy TevStageConfig using a loop. Fixes bug: const_color not copied
10 years ago
Jannik Vogel
03a243469b
OpenGL: border_color was never set. Fixed. ( #1740 )
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Jannik Vogel
9d522e8441
Remove TGA dumper
10 years ago
Yuri Kunde Schlesner
2396b01d5d
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
9f1cffa3e9
Move and rename the MemoryAccesses class to MemoryAccessTracker.
10 years ago
Henrik Rydgard
0a3b4b8cb4
Debugger fix
10 years ago
Henrik Rydgard
b9da0f7902
Optimize the vertex loader, nearly doubling its speed.
10 years ago
Henrik Rydgard
b57bcfd528
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
ec770c0bbf
Move "&" to their proper place, add missing includes and make some properly relative.
10 years ago
Henrik Rydgard
c1ee661492
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
03f90e7dfd
Remove late accesses to attribute_config
10 years ago
Sam Spilsbury
48693e98fa
shader: Shader size is long uint, not uint.
10 years ago
Sam Spilsbury
164d297c6f
shader: Handle non-CALL opcodes with a break
10 years ago
Sam Spilsbury
3d9c27ec5f
shader: Format string must be provided inline and not as a variable
10 years ago
Henrik Rydgard
76a55f83c7
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
79efd312a9
pica: Handle default lighting case
10 years ago
tfarley
bd5a278e47
HWRasterizer: reorder declarations to match defs
10 years ago
tfarley
2680bd4062
HWRasterizer: sync specular uniform for new shaders
10 years ago
tfarley
459035a108
HWRasterizer: Texture forwarding
10 years ago
tfarley
621cf30b24
Config: Add scaled resolution option
10 years ago
Jannik Vogel
c52ea04cf5
Rasterizer: Allow all blend factors for alpha blend-func
10 years ago
Lioncash
c8c5cde430
debug_utils: use std::make_unique for initializing PicaTrace
10 years ago
bunnei
42045d12c2
shader_jit_x64: Rename RuntimeAssert to Compile_Assert.
10 years ago
bunnei
73c082b647
shader_jit_x64.cpp: Rename JitCompiler to JitShader.
10 years ago
bunnei
76f9651a3a
shader_jit_x64: Free memory that's no longer needed after compilation.
10 years ago
bunnei
b6e8a9e52c
shader_jit_x64: Use a sorted vector instead of a set for keeping track of return addresses.
10 years ago
bunnei
276e57fea6
shader_jit_x64: Use CALL/RET instead of JMP for subroutines.
10 years ago
bunnei
0f9796a63e
shader_jit_x64: Separate initialization and code generation for readability.
10 years ago
bunnei
aec7a517ea
shader_jit_x64: Get rid of unnecessary last_program_counter variable.
10 years ago