Yuri Kunde Schlesner
4f4f04078b
OpenGL: Remove unused duplicate of IsPassThroughTevStage
This copy was left behind when the shader generation code was moved to a
separate file.
9 years ago
Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
9 years ago
Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
b4306bed74
VideoCore: Split lighting regs from Regs struct
9 years ago
Yuri Kunde Schlesner
6f9218c8ec
VideoCore: Split framebuffer 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
114222b11e
Pica/Texture: Simplify/cleanup texture tile addressing
9 years ago
Yuri Kunde Schlesner
d1270b647c
VideoCore: Move LookupTexture out of debug_utils.h
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
Kloen
d80edf9ebf
video_core: gl_rasterizer_cache.cpp removed unused type alias
9 years ago
Kloen
be15be9020
video_core: gl_rasterizer.cpp removed unused type alias
9 years ago
Kloen
3115300f11
video_core: silence unused-local-typedef boost related warning on GCC
9 years ago
Kloen
efb168a1ce
video_core: gl_rasterizer float to int warning
9 years ago
Kloen
b969f82292
video_core: fix gl_rasterizer warning on MSVC
9 years ago
bunnei
d2a2789dda
config: Add option for specifying screen resolution scale factor.
9 years ago
Jannik Vogel
1404a3c19a
Minor cleanup in GLSL code
9 years ago
Jannik Vogel
98bb00a643
Offset lighting LUT samples correctly
9 years ago
MerryMage
4aaaea9758
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
Albin Bernhardsson
0a2259ad11
Use GL_TRUE when setting color_mask
9 years ago
Yuri Kunde Schlesner
66efdff1a7
VideoCore: Make profiling scope more representative
9 years ago
Markus Wick
aa8236a9b6
OpenGL: Drop framebuffer completeness check.
This OpenGL call synchronize the worker thread of the nvidia blob.
It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable.
Those errors should not happen on tested drivers.
It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148
9 years ago
Jannik Vogel
869743d34c
ASSERT that shader was linked successfully
9 years ago
Jannik Vogel
d676c9a06f
Report shader uniform block size in case of mismatch
9 years ago
Jannik Vogel
d8142ae075
Print broken shader code to log
9 years ago
Yuri Kunde Schlesner
515096c197
OpenGL: Non-zero stride only makes sense for linear buffers
9 years ago
Yuri Kunde Schlesner
2271fa76fb
OpenGL: Ensure framebuffer binding is restored if completion check fails
9 years ago
Yuri Kunde Schlesner
f207da3a5a
OpenGL: Fix DisplayTransfer accel when input width != output width
Fixes #2246 , #2261
9 years ago
Subv
a485a04208
ClangFormat: Fixed the clang-format errors
9 years ago
Subv
d16be9bdbd
Build: Fixed a few warnings.
9 years ago
Subv
47603a64f1
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
9 years ago
Subv
d64661e40e
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
9 years ago
James Rowe
72786d410e
Add default hotkey to swap primary screens.
Also minor style changes
9 years ago
James Rowe
08f830fed4
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
10 years ago
Yuri Kunde Schlesner
e72584084e
OpenGL: Take cached viewport sub-rect into account for scissor
Fixes #1938
9 years ago
wwylele
4d867489a4
rasterizer: separate TextureCopy from DisplayTransfer
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
e22a00f35f
OpenGL: Avoid error on unsupported lighting LUT
9 years ago
Yuri Kunde Schlesner
8e13889337
OpenGL: Add scaled resolution support to scissor
10 years ago
Yuri Kunde Schlesner
e1b005a568
PICA: Scissor fixes and cleanups
10 years ago
Subv
4a9e0e5430
PICA: Implement scissor test
10 years ago
Jannik Vogel
41b823a637
OpenGL: Implement fog
10 years ago
Jannik Vogel
9a3c245750
OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE
10 years ago
mailwl
ee188dbdc6
gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue
10 years ago
Jannik Vogel
e00b2fbcc2
OpenGL: Set shader_dirty on lighting changes
10 years ago
Jannik Vogel
d18118b305
Pica: Name LightSrc.config register
10 years ago
Jannik Vogel
16a0830caa
Pica: Name lighting.config0 and .config1 registers
10 years ago