wwylele
5e5816c800
gl_shader: refactor texture sampler into its own function
2017-05-27 01:56:22 +03:00
wwylele
19583dfd61
gl_rasterizer: implement procedural texture
2017-05-20 13:50:50 +03:00
wwylele
cb51c1024f
pica: shader_dirty if texture2 coord changed
2017-05-05 15:35:17 +03:00
wwylele
39d77e5d9d
pica: use correct coordinates for texture 2
2017-05-03 22:12:46 +03:00
bunnei
d167bc3636
Merge pull request #2671 from wwylele/dot3-rgba
...
rasterizer: implement combiner operation 7 (Dot3_RGBA)
2017-04-21 17:03:22 -04:00
wwylele
fdbc63d7b2
gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware
2017-04-20 22:56:07 +03:00
wwylele
aaa320dd45
rasterizer: implement combiner operation 7 (Dot3_RGBA)
2017-04-19 23:48:10 +03:00
Yuri Kunde Schlesner
7938f9250c
OpenGL: Pass Pica regs via parameter
2017-04-17 10:34:45 -07:00
Yuri Kunde Schlesner
9b5c90cbe3
OpenGL: Move PicaShaderConfig to gl_shader_gen.h
...
Also move the implementation of CurrentConfig to the cpp file.
2017-04-16 21:49:32 -07:00
Yuri Kunde Schlesner
f510fe1b2e
OpenGL: Move Attributes enum to a more appropriate file
2017-04-16 20:47:04 -07:00
wwylele
9bdb78f869
Input: remove unused stuff & clean up
...
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
2017-03-01 23:30:57 +02:00
Yuri Kunde Schlesner
5990d020a8
Core: Re-write frame limiter
...
Now based on std::chrono, and also works in terms of emulated time
instead of frames, so we can in the future frame-limit even when the
display is disabled, etc.
The frame limiter can also be enabled along with v-sync now, which
should be useful for those with displays running at more than 60 Hz.
2017-02-26 17:22:04 -08:00
Yuri Kunde Schlesner
ea78f30e67
Core: Make PerfStats internally locked
...
More ergonomic to use and will be required for upcoming changes.
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
e7c2eba35d
Remove built-in (non-Microprofile) profiler
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
3a9447bc16
Add performance statistics to status bar
2017-02-26 17:22:03 -08:00
Jannik Vogel
4dc66fd320
OpenGL: Check if uniform block exists before updating it ( #2581 )
2017-02-18 11:46:26 -08:00
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.
2017-02-09 00:04:24 -08:00
Yuri Kunde Schlesner
ddf23d4a2e
VideoCore: Split regs.h inclusions
2017-02-09 00:04:24 -08:00
Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
2017-02-04 13:59:12 -08:00
Yuri Kunde Schlesner
b4306bed74
VideoCore: Split lighting regs from Regs struct
2017-02-04 13:59:11 -08:00
Yuri Kunde Schlesner
6f9218c8ec
VideoCore: Split framebuffer regs from Regs struct
2017-02-04 13:59:11 -08:00
Yuri Kunde Schlesner
1242f42a09
VideoCore: Split texturing regs from Regs struct
2017-02-04 13:59:09 -08:00
Yuri Kunde Schlesner
d3928b7f9a
VideoCore: Split rasterizer regs from Regs struct
2017-02-04 13:08:47 -08:00
Yuri Kunde Schlesner
cb89a67a80
Merge pull request #2476 from yuriks/shader-refactor3
...
Oh No! More shader changes!
2017-02-04 13:02:48 -08:00
Yuri Kunde Schlesner
114222b11e
Pica/Texture: Simplify/cleanup texture tile addressing
2017-02-04 12:33:25 -08:00
Yuri Kunde Schlesner
d1270b647c
VideoCore: Move LookupTexture out of debug_utils.h
2017-02-04 12:31:40 -08:00
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.
2017-01-29 21:31:36 -08:00
Kloen
d80edf9ebf
video_core: gl_rasterizer_cache.cpp removed unused type alias
2017-01-30 05:18:28 +01:00
Kloen
be15be9020
video_core: gl_rasterizer.cpp removed unused type alias
2017-01-30 05:16:48 +01:00
Kloen
3115300f11
video_core: silence unused-local-typedef boost related warning on GCC
2017-01-29 21:24:24 +01:00
Kloen
efb168a1ce
video_core: gl_rasterizer float to int warning
2017-01-23 16:53:30 +01:00
Kloen
b969f82292
video_core: fix gl_rasterizer warning on MSVC
2017-01-23 16:53:30 +01:00
bunnei
d2a2789dda
config: Add option for specifying screen resolution scale factor.
2017-01-07 03:23:22 -05:00
bunnei
73f1ddef92
Merge pull request #2367 from JayFoxRox/lighting-lut-quickfix
...
Lighting LUT Quickfix
2016-12-29 13:41:51 -05:00
Jannik Vogel
1404a3c19a
Minor cleanup in GLSL code
2016-12-25 21:38:10 +01:00
Jannik Vogel
98bb00a643
Offset lighting LUT samples correctly
2016-12-25 21:37:26 +01:00
MerryMage
4aaaea9758
core: Move emu_window and key_map into core
...
* Removes circular dependences (common should not depend on core)
2016-12-23 13:42:39 +00:00
bunnei
79b3a1a1e7
Merge pull request #2319 from yuriks/profile-scopes
...
VideoCore: Make profiling scope more representative
2016-12-21 13:33:49 -05:00
Albin Bernhardsson
0a2259ad11
Use GL_TRUE when setting color_mask
2016-12-19 19:06:35 +01:00
Yuri Kunde Schlesner
66efdff1a7
VideoCore: Make profiling scope more representative
2016-12-14 22:52:09 -08:00
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
2016-12-07 22:09:13 +01:00
Jannik Vogel
869743d34c
ASSERT that shader was linked successfully
2016-12-05 21:11:24 +01:00
Jannik Vogel
d676c9a06f
Report shader uniform block size in case of mismatch
2016-12-05 21:11:24 +01:00
Jannik Vogel
d8142ae075
Print broken shader code to log
2016-12-05 21:11:24 +01:00
Yuri Kunde Schlesner
515096c197
OpenGL: Non-zero stride only makes sense for linear buffers
2016-12-04 06:14:27 -08:00
Yuri Kunde Schlesner
2271fa76fb
OpenGL: Ensure framebuffer binding is restored if completion check fails
2016-12-04 06:14:27 -08:00
Yuri Kunde Schlesner
f207da3a5a
OpenGL: Fix DisplayTransfer accel when input width != output width
...
Fixes #2246 , #2261
2016-12-04 05:21:57 -08:00
Subv
a485a04208
ClangFormat: Fixed the clang-format errors
2016-11-30 09:37:37 -05:00
Subv
d16be9bdbd
Build: Fixed a few warnings.
2016-11-29 16:51:53 -05:00
Subv
47603a64f1
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
2016-11-27 13:09:11 -05:00