Unknown W. Brackets
bf02f7d98b
Vulkan: Detect swapchain init failure.
...
This seems to be a driver bug, and occurs on NVIDIA when OpenGL has
previously been inited. Or we're not cleaning something up properly...
but there's a driver error logged to debug output.
2017-04-15 16:26:26 -07:00
Henrik Rydgard
03dab0fdbd
More UWP prep
2017-02-25 09:57:22 +01:00
Henrik Rydgard
a2b49fd0e0
Update Vulkan headers. Hack around another validation check (which I beleive to be bugged).
2016-12-15 18:12:53 +01:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Unknown W. Brackets
1d9222b3e4
Vulkan: Add comment for Android validation layers.
...
Note: these also require minor tweaks to Local.mk to include, currently,
but we're probably moving to gradle.
2016-10-10 22:08:44 -07:00
Unknown W. Brackets
e263bb945e
Vulkan: Correct initial swapchain compositeAlpha.
...
We'll just need to deal with the fact that we have to output 1.0 so that
blending doesn't matter, I think.
2016-10-10 22:07:50 -07:00
Unknown W. Brackets
0bf65150d6
Vulkan: Prefer 32-bit color formats if possible.
2016-07-01 14:05:15 -07:00
Unknown W. Brackets
419b960403
x86jit: Fix params in Replace_fabsf.
2016-05-31 10:40:14 -07:00
Henrik Rydgard
fd0af5b271
Vulkan: Mostly pass the validation layers in SDK 1.0.13
2016-05-24 21:41:35 +02:00
Henrik Rydgard
0a58424e75
Vulkan: Remove validation layer that is now included in standard_validation
2016-05-18 23:53:17 +02:00
Henrik Rydgard
617bcebcd6
Update to latest vulkan header (1.0.8)
2016-04-07 22:53:37 +02:00
Henrik Rydgard
5cd3956575
Reformat VulkanContext.cpp (fix tab indentation)
2016-04-03 00:01:56 +02:00
Henrik Rydgard
e1f660ebc1
Update vulkan structure init to the new style
2016-04-02 23:57:23 +02:00
Henrik Rydgard
731af0d0b4
Add some infrastructure for 2D drawing, to be used by the Vulkan framebuffer manager
2016-03-31 00:49:10 +02:00
Henrik Rydgard
a8c386b94c
Make VulkanImage a little more flexible (make it possible to create depth images)
...
Just preparation.
2016-03-28 18:25:05 +02:00
Unknown W. Brackets
048a12f589
Buildfix.
...
Some compilers didn't like that, oops.
2016-03-27 09:25:25 -07:00
Henrik Rydgård
b0329e8106
Merge pull request #8657 from unknownbrackets/vulkan-resize
...
Support resizing the screen on Vulkan
2016-03-22 09:22:58 +01:00
Unknown W. Brackets
963b18e6c2
Vulkan: Prep for resize, destroy surface on exit.
...
I suppose this is a validation layer bug, it didn't report the leak.
2016-03-21 19:41:20 -07:00
Henrik Rydgard
b97e02febe
Typo fixes. Delete irrelevant comments
2016-03-21 20:23:53 +01:00
Henrik Rydgard
dff585e440
VulkanContext: Detect the appropriate depth buffer format to use, expose it.
...
This should help AMD compatibility.
2016-03-21 20:11:49 +01:00
Henrik Rydgård
2a35d4b4c5
Merge pull request #8653 from unknownbrackets/warnings
...
Warning fixes from clang
2016-03-21 08:27:25 +01:00
Unknown W. Brackets
2d34c0a8bc
Vulkan: Free anything pending before the device.
...
This includes, for example, device memory and etc.
2016-03-21 00:02:59 -07:00
Unknown W. Brackets
9c3e12ead0
Remove some unused things reported by clang.
2016-03-20 23:14:08 -07:00
Henrik Rydgard
5d19f3dfb8
Decode vertex data directly into the vertex pushbuffer, saving a memcpy.
2016-03-20 19:35:03 +01:00
Henrik Rydgard
966cb89d41
Vulkan: Fix our use of dual source blending, re-enable if available.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
82f3df1e06
Vulkan: Initial support for aniso filtering.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
da50370328
Split out VulkanTexture from VulkanContext.cpp/h into VulkanImage.cpp/h
2016-03-20 19:31:02 +01:00
Henrik Rydgard
84e649f74b
Vulkan: Enable mipmapping
2016-03-20 19:31:02 +01:00
Henrik Rydgard
8a62724316
Upload PSP textures through a push buffer instead of image copy. More flexible.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
5ea01ffff6
Add a secondary way to upload textures - through buffers.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
82205a4660
Handle Vulkan init errors more gracefully.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
fe270c592a
Typo fix
2016-03-20 19:31:02 +01:00
Henrik Rydgard
b0098f7961
Replace ugly workaround with VK_LAYER_LUNARG_unique_objects which prevents handle reuse.
...
See https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/121
2016-03-20 19:31:02 +01:00
Henrik Rydgard
575cc890b7
Turn off annoying "debug flicker" I used to see if we were swapping buffers properly early on
...
Also minor logging changes, refine the false-positive debug layer check
2016-03-20 19:31:02 +01:00
Henrik Rydgard
5ca012e83d
Fix a bunch of new vulkan validation layer failures.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
6e2e0bfa33
Should not specify the Vulkan patch version when requesting Vulkan 1.0.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
c92790c5a8
Specify a useful app version when loading Vulkan.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
432fbe30d1
Vulkan: We're doing dual src blending wrong (GLSL part, not sure how to do it right) so disable it.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
b06cf4e688
Re-fix depth buffer initialization
2016-03-20 19:30:39 +01:00
Henrik Rydgård
9c457da4c9
Gets the Vulkan backend running, but not drawing correctly, on Android.
...
Not sure what's wrong, I get a yellow flashing screen.
2016-03-20 19:30:39 +01:00
Henrik Rydgard
d325aa2b30
Hook up Vulkan on Android, no idea if it works. Move VulkanContext to Common.
2016-03-20 19:30:11 +01:00