Jannik Vogel
068bd6f728
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
10 years ago
Jannik Vogel
d77279a415
Refactor Tev stage dumper
10 years ago
Jannik Vogel
324c21c922
Extend Tev stage dumper
10 years ago
Jannik Vogel
ff0fa86b17
Retrieve shader result from new OutputRegisters-type
10 years ago
Jannik Vogel
5389dedfa1
OpenGL: Only update depth uniforms if the depth changed
10 years ago
Jannik Vogel
f8a11a664f
OpenGL: value-initialize variables which cause uninitialised access otherwise
10 years ago
Jannik Vogel
1308afe2c2
Use new shader-jit signature for interpreter
10 years ago
Jannik Vogel
4e01e9ffc5
Refactor access to state in shader-jit
10 years ago
Jannik Vogel
5864cb7e00
OpenGL: Support blend equation
10 years ago
Jannik Vogel
7e756faaba
Move program_counter and call_stack from UnitState to interpreter
10 years ago
Jannik Vogel
6c6d99ca51
Move default_attributes into Pica state
10 years ago
Jannik Vogel
ae7a82fa1c
Turn ShaderSetup into struct
10 years ago
Jannik Vogel
5a7306d6df
OpenGL: Implement texture type 3
10 years ago
Jannik Vogel
4311297eb1
Rasterizer: Implement texture type 3
10 years ago
Jannik Vogel
2f8e8e1455
Pica: Add tc0.w to OutputVertex
10 years ago
Jannik Vogel
9cfebb9334
Pica: Add texture type to state
10 years ago
Lioncash
75e5d0a6a0
gl_rasterizer: Fix compilation for debug builds
10 years ago
Jannik Vogel
fc9cc21024
OpenGL: Implement W-Buffers and fix depth-mapping
10 years ago
Jannik Vogel
4c98113b57
Pica: Implement W-Buffer in SW rasterizer
10 years ago
Lioncash
6d5f2a3cff
vertex_loader: Correct forward declaration of InputVertex
It's actually a struct, not a class.
10 years ago
Lioncash
5587383eb7
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
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
f74652d2fe
Pica: Use a union for PicaShaderConfig
10 years ago
Jannik Vogel
5fc8eb227a
Pica: Add TevStageConfigRaw to PicaShaderConfig (MSVC workaround)
10 years ago
Jannik Vogel
f3f7018c9e
Pica: Make PicaShaderConfig trivially_copyable and clear it before use
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