19 Commits

Author SHA1 Message Date
Themaister
3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Jean-André Santoni
0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
Jean-André Santoni
1bd07c34c7 Make the Vulkan ribbon consistant with the GL ribbon 2017-05-22 00:39:09 +02:00
hunterk
a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
twinaphex
962149ef63 (Vulkan) Add pipeline_snow 2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen
2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex
6a45541f24 (Vulkan) Rename pipeline files 2016-12-12 13:17:20 +01:00
twinaphex
a94b15ac86 (Vulkan) Add pipeline snow simple shader 2016-12-12 05:21:38 +01:00
Arzed Five
18392a5e40 (XMB VK snow) Attempt to fix the Vulkan snow menu shader 2016-12-12 03:46:26 +00:00
twinaphex
d3db3a7ec4 (Vulkan) Add pipeline simple snow 2016-12-06 00:51:48 +01:00
Hans-Kristian Arntzen
b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen
f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen
464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Hans-Kristian Arntzen
26cfedc546 Add XMB ribbon shaders to Vulkan. 2016-05-08 09:54:36 +02:00
Hans-Kristian Arntzen
cece4e5ae2 Vulkan: Add workaround for broken VkImageView swizzling.
Certain early drivers fail to apply swizzle mask.
2016-02-21 13:52:30 +01:00
Hans-Kristian Arntzen
c74c7ae053 Vulkan: Work around broken push constants on Ivy Bridge.
Use UBOs instead, should be more compatible with early drivers.
2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen
a1ae86a808 Remove obsolete shaders. 2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00