Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
55110e9361
VideoCore: Use union to index into Regs struct
Also remove some unused members.
9 years ago
Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
90d220d1b3
VideoCore: Split geometry pipeline regs from Regs struct
9 years ago
Yuri Kunde Schlesner
1242f42a09
VideoCore: Split texturing regs from Regs struct
9 years ago
Yuri Kunde Schlesner
d3928b7f9a
VideoCore: Split rasterizer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
dcdaff5ecc
VideoCore: Split shader output writing from semantic loading
9 years ago
Yuri Kunde Schlesner
067b9b54bd
VideoCore: Consistently use shader configuration to load attributes
9 years ago
Yuri Kunde Schlesner
e05770fec4
VideoCore: Use correct register for immediate mode attribute count
9 years ago
Yuri Kunde Schlesner
a4a4b6408c
VideoCore: Rename some types to more accurate names
9 years ago
Yuri Kunde Schlesner
07b51a7da0
VideoCore: Change misleading register names
A few registers had names such as "count" or "number" when they actually
contained the maximum (that is, count - 1). This can easily lead to hard
to notice off by one errors.
9 years ago
Yuri Kunde Schlesner
ab0b74b0f3
VideoCore/Shader: Move entry_point to SetupBatch
9 years ago
Yuri Kunde Schlesner
1994f1a6f2
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
9 years ago
Yuri Kunde Schlesner
c863fc36ce
Shader: Remove OutputRegisters struct
9 years ago
Yuri Kunde Schlesner
73e7bc2592
VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be
split in a following commit.
9 years ago
Yuri Kunde Schlesner
03d2b6aa89
VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA
state.
9 years ago
Yuri Kunde Schlesner
2771bde17a
VideoCore/Shader: Extract input vertex loading code into function
9 years ago
Yuri Kunde Schlesner
7d4827f520
VideoCore/Shader: Extract DebugData out from UnitState
9 years ago
Yuri Kunde Schlesner
66efdff1a7
VideoCore: Make profiling scope more representative
9 years ago
Yuri Kunde Schlesner
eb75205231
VideoCore: Inline IsPicaTracing
Speeds up ALBW main menu slightly (~3%)
9 years ago
Yuri Kunde Schlesner
d8fc6ee91b
VideoCore: Eliminate an unnecessary copy in the drawcall loop
9 years ago
Lioncash
b0ebdfae34
Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
9 years ago
Emmanuel Gil Peyrot
87d3afe635
GPU: Remove the broken frame_skip option.
Fixes #1960 .
9 years ago
jphalimi
5a580171b6
Cache Vertices instead of Output registers ( #2165 )
This patch brings +3% performance improvement on average. It removes
ToVertex() as an important hotspot of the emulator.
9 years ago
wwylele
1db648c247
Fix format error from #2195
9 years ago
Subv
9ee95ffbec
GPU/CiTrace: Avoid calling GetTextures() when not necessary.
9 years ago
Ricardo de Almeida Gonzaga
07fdcf150d
Fix typos
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Jannik Vogel
0d7d513c54
Pica: Add fog state
10 years ago
Jannik Vogel
df3eeea302
Retrieve shader result from new OutputRegisters-type
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
Lioncash
561157d259
vertex_loader: Add constructors to facilitate immediate and two-step initialization
10 years ago
Jannik Vogel
db061e0568
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
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
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
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
bunnei
110725828a
shader: Remove unused 'state' argument from 'Setup' function.
10 years ago
Jannik Vogel
4e717ff177
Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY)
10 years ago
Yuri Kunde Schlesner
8c337f1d29
Pica: Improve accuracy of immediate-mode support
This partially fixes Etrian Odyssey IV.
10 years ago
Lioncash
7b2af63608
video_core: Don't cast away const
10 years ago
Jannik Vogel
67d9455c24
PICA: Alignment happens locally in vertex
10 years ago
Jannik Vogel
5cf2de5ecf
PICA: Align vertex attributes
10 years ago
Lioncash
c9f47a9b3c
renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
10 years ago