Jannik Vogel
79369e240a
Extend Tev stage dumper
10 years ago
Jannik Vogel
df3eeea302
Retrieve shader result from new OutputRegisters-type
10 years ago
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
208a74a882
Use new shader-jit signature for interpreter
10 years ago
Jannik Vogel
b3e96d8e29
Refactor access to state in shader-jit
10 years ago
Jannik Vogel
55e804b610
OpenGL: Support blend equation
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
Lioncash
b6dd73e5c3
vertex_loader: Correct forward declaration of InputVertex
It's actually a struct, not a class.
10 years ago
Lioncash
38eca6b728
vertex_loader: Provide an assertion for ensuring the loader has been setup
Also adds an assert to ensure that Setup is not called more than once
during a VertexLoader's lifetime.
10 years ago
Lioncash
561157d259
vertex_loader: Add constructors to facilitate immediate and two-step initialization
10 years ago
Lioncash
9f536396ad
vertex_loader: initialize_num_total_attributes.
Keeps the public API sane.
10 years ago
Lioncash
a20ffc0df1
vertex_loader: Use std::array instead of raw C arrays
10 years ago
Lioncash
4633449bfc
vertex_loader: Correct header ordering
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