Carlo Refice
adaa19cbf7
vulkan: Add support for A2R10G10B10 HDR format ( #16435 )
2024-04-18 07:34:46 -07:00
MajorPainTheCactus
eef34e9461
Added rolling scan line simulation based on the shader subframe feature. This is implemented with a scrolling scissor rect rather than in the shader itself as this is more efficient although may not work for every shader pass - we may need an option to exclude certain passes. The implementation simply divides the screen up by the number of sub frames and then moves the scissor rect down over the screen over the number of sub frames. ( #16282 )
2024-03-19 08:59:36 -07:00
Ophidon
7b711214a7
Slang Subframe Shaders Feature ( #16209 )
...
Adds support for sub-frame shaders to vulkan/glcore/dx10-11-12.
Builds on the concept already present for frame duplication in use for BFI, to present multiple 'sub' frames per real frame to the shaders, so they can run at a higher framerate than the content framerate. Must be enabled via subframe shaders setting under synchronization settings to be active.
Will allow BFI to be implemented inside of the shaders, among any other use for the higher framerate shader authors can devise.
CurrentSubFrame and TotalSubFrames have been available inside the shaders to track what they want to do on an given subframe. TotalSubFrames will always be 1 when the setting is disabled (and when in menu/ff/pause). Framecount will not increment on sub-frames, as it does not for injected bfi frames now. Should not interfere with any existing shaders that do not check for subframes.
2024-02-09 03:12:55 -08:00
Bobby Smith
bd10a88a57
[Vulkan] Fix a validation error ( #15946 )
2023-11-24 11:23:58 -08:00
libretroadmin
1743e8244b
Avoid some implicit memsets
2023-07-17 16:53:46 +02:00
libretroadmin
5e614ea19c
Update
2023-07-16 23:04:53 +02:00
libretroadmin
35c512d5ba
Get rid of some impicit memsets
2023-07-16 22:51:09 +02:00
Grisly Glee
4202f8650d
Fix trivial signedness warnings ( #15377 )
...
* Fix trivial signedness warnings
* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
libretroadmin
36cf7f00a8
Cleanups
2023-06-01 19:59:11 +02:00
barbudreadmon
1fb9853a93
(Shaders) pass rotation index to shaders ( #15136 )
2023-03-26 21:20:27 +01:00
reallibretroadmin
f869661e66
Silence warnings shown in Xcode
2023-01-22 16:20:15 +01:00
reallibretroadmin
84b0546965
Silence some implicit conversion warnings in Xcode
2023-01-09 00:16:36 +01:00
reallibretroadmin
6199baff3a
Silence several Vulkan related warnings that showed up in Xcode
2023-01-07 08:05:06 +01:00
LibretroAdmin
d0b3c1742d
(Video) use flags for FBO passes, GL2 renderchain, etc
2022-10-26 21:21:21 +02:00
Themaister
a058c78fd0
Attempt to fix validation errors with HDR swapchain.
...
Always use final render pass type equal to swapchain format. Use more
direct logic to expose if filter chain emits HDR10 color space or not.
2022-08-31 21:59:25 +02:00
Themaister
d6413f2a43
Automatically mark buffer/images/memory with names.
2022-08-31 19:46:11 +02:00
libretroadmin
802b3ecd05
(Drivers shader) Revert back to earlier version
2022-05-22 20:49:45 +02:00
libretroadmin
cc61c90602
(Vulkan shader) Add framebuffer copy/clear to inner functions - remove
...
functions
2022-05-21 18:49:21 +02:00
libretroadmin
68608e5db1
(shader_vulkan) Cleanups:
...
* Properly namespace functions
* Get rid of functions that were never used
* More cleanups in general
2022-05-21 17:55:43 +02:00
libretroadmin
f30cbaf7a3
(shader_vulkan) More rewrites
2022-05-21 17:00:43 +02:00
libretroadmin
46603db2fa
(shader_vulkan) Get rid of Pass:set_pass_info
2022-05-21 14:49:31 +02:00
libretroadmin
302169b49a
(shader_vulkan) Cleanups
2022-05-21 14:37:07 +02:00
libretroadmin
c48209d323
(shader_vulkan) More cleanups
2022-05-21 13:08:13 +02:00
libretroadmin
49954569f9
(shader_vulkan) Simplifications
2022-05-21 11:47:08 +02:00
libretroadmin
3b99b42812
(shader_vulkan) Simplify - move functions over that were exclusively
...
used in shader_vulkan.cpp from vulkan_common.c to there
2022-05-21 01:11:28 +02:00
libretroadmin
25c33a8306
(drivers_shader) Simplify shader_gl3/shader_vulkan
2022-05-21 00:43:52 +02:00
twinaphex
8cdfc8e8b6
Fix CXX_BUILD errors
2022-04-02 20:37:54 +02:00
MajorPainTheCactus
ad4f6176ff
Vulkan driver fixes for HDR ( #13468 )
...
* Fixed crash on boot with xmb and vulkan driver Fixed wrong blend state affecting the ribbon shader Fixed up C++ style comments with C style
* Fixed compilation issue - I made a last minute change and thought I had compiled it but obviously hadn't! No wonder it worked.
2022-01-10 06:26:02 +01:00
MajorPainTheCactus
1a228a4e78
Added HDR support to Vulkan driver ( #13456 )
2022-01-08 13:22:34 +01:00
Tony
09880e92d2
Logging cleanups ( #13320 )
2021-12-04 14:21:12 +01:00
Norman Jordan
1b0ae7a0b2
Added a missing include.
2021-05-05 01:52:04 -07:00
IAmBoring
9c0aec1d19
MSVC Vulkan Buildfix
2021-04-27 20:45:52 +00:00
twinaphex
f29a4b51cc
Put this behind VULKAN_DEBUG ifdef
2021-04-11 00:15:06 +02:00
twinaphex
f0fa3c5861
(slang C++ files) take out using namespace std, explicitly refer to
...
std namespace
2021-04-10 19:42:59 +02:00
twinaphex
966dd62551
Fix warnings local variable hides parameter of the same name
2021-04-10 19:28:30 +02:00
twinaphex
159c03cb34
Bump up version (but don't tag yet)
2021-03-27 02:22:39 +01:00
barbudreadmon
af6bb016cb
(VULKAN) fix slang shaders with rotation
2021-01-26 10:09:45 +01:00
Remi McGill
7a565d739d
Shaders fix for duplicate parameters loading bug
2020-12-31 15:50:55 -05:00
HyperspaceMadness
0c526b6498
Shaders Load Refactor and Fix Referenced Texture Loading
...
Partial update to work with shaders directly
More Edits
More changes
more shader fixes
More Fixes Compiling, reference load still wrong
Added Feedback & things are working
Logging Fixes
Log Fix
More Fixes
Added Feedback Logging
Fixes for file pathing in Linux
Fix GLCore and Crash in QT Saving
Code Cleanup
Removed Unused Function filepath.c
Code Cleanup
2020-12-26 21:09:27 -05:00
Tony Jansson
bb1c853ecd
(Vulkan) Reduce log spam
2020-09-23 02:00:03 +03:00
twinaphex
4958e30d8f
(slang shader backends) Cleanups
2020-08-16 02:29:54 +02:00
twinaphex
e35d2cb527
CLeanups
2020-08-16 02:20:13 +02:00
twinaphex
bb58b0d6e3
(GLSLANG) Move more common code out of shader_gl_core and shader_vulkan
...
and into glslang_util.h
2020-08-16 02:05:38 +02:00
twinaphex
f8b8f2a07d
(slang) Cut down on code duplication
2020-08-03 18:37:07 +02:00
twinaphex
86d302099e
Move build_vec4 to glslang_util.c
2020-08-03 18:34:33 +02:00
twinaphex
cce2ac6904
(shaders slang) Cut down on code duplication
2020-08-03 18:13:08 +02:00
twinaphex
e10f4eed8d
(Vulkan) Cleanups
2020-07-09 03:48:42 +02:00
twinaphex
09180e64b5
Start unifying more macros
2020-07-03 18:00:40 +02:00
twinaphex
7a22eb1f44
Turn vulkan_image_layout_transition_levels into macro
2020-07-03 08:32:33 +02:00
twinaphex
479058d1a3
Prevent implicit memsets
2020-06-29 16:42:51 +02:00