Unknown W. Brackets
add506a0d3
Cleanup differences in aniso handling.
...
Some places were not handling it as a power of two.
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
Unknown W. Brackets
3744008d1f
Correct the 5551 format for now.
...
Otherwise we get wrong colors - also we are still converting colors.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
baa7132a89
Vulkan: Simplify color testing.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
dad64b39b6
Vulkan: Properly set the alpha test ref.
...
It's definitely not a float, oops.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
a995dd2ff4
Get rid of strange offset in Vulkan matrix converter
2016-03-20 19:31:02 +01:00
Henrik Rydgard
e45c24b75f
Show how much pushbuffer space is used each frame.
...
Optimizing this number (by avoiding redundant UBO uploads etc) will probably help performance.
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
Henrik Rydgard
697f3a8f94
Matrix depth fix. Still have depth issues though.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
00d617c9d5
Fix bug where we sometimes pushed too much vertex data.
...
Doesn't seem to fix much though...
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
242daae00a
Disable last texture reuse for now.
...
This will be slower, but otherwise a lot of textures are missing in
various games, like Final Fantasy 4. Better to get all the bugs out first
and then start optimizing.
Note: there is still missing drawing in Final Fantasy 4, but only text
after this change.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
3e268e4d37
Mem leak fixes, cleanups
2016-03-20 19:31:02 +01:00
Henrik Rydgard
5cee8856ea
Fix UV scale for some vertex formats (like GL). Separate updates of PROJ and PROJTHROUGH matrices.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
8efbcf8d42
Use draws for alpha/stencil only clear in Vulkan.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
323130eb86
Don't crash as hard on shader compile error.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
76d8a87b2f
Vulkan: Attempt at fixing dual source blending. Should work but doesn't.
2016-03-20 19:31:02 +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
Henrik Rydgard
2481714a8e
Load Vulkan dynamically. Fix Android build (though - Vulkan is not working on Android yet)
2016-03-20 19:30:11 +01:00
Henrik Rydgard
5a72564583
Cleanup
2016-03-20 19:30:11 +01:00
Henrik Rydgard
432f276bec
Cleanups. Don't loop over bones in vshader, causes trouble
2016-03-20 19:30:11 +01:00
Henrik Rydgard
1677697735
Vulkan: Don't try to overlap proj with proj_through, will need a different approach.
...
Also, assorted bugfixes.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
5f71b5b3ec
Android: Vulkan builds but doesn't link as we have no link library.
2016-03-20 19:30:11 +01:00