Commit Graph
20735 Commits
Author SHA1 Message Date
Unknown W. Brackets f0dc921ed5 Vulkan: Setup a pool memory manager for textures. 2016-03-27 08:30:37 -07:00
Henrik Rydgård b877cb0807 Merge pull request #8669 from unknownbrackets/vulkan-tex
Use out/outPitch for remaining formats in Vulkan
2016-03-27 10:22:32 +02:00
Henrik Rydgård 424af025c0 Merge pull request #8671 from unknownbrackets/vulkan-stencil
Fix some of the Vulkan stencil problems
2016-03-27 10:05:57 +02:00
Unknown W. Brackets b4406957c9 Halve the default tex buf size.
Might as well not allocate 2.5 MB that most of the time won't be needed.

If it becomes needed, it'll allocate at runtime, but this should be
uncommon.
2016-03-26 23:38:51 -07:00
Unknown W. Brackets d2f85792ab Vulkan: Unswizzle non-CLUT textures directly. 2016-03-26 23:38:51 -07:00
Unknown W. Brackets 1300631e9a Allow unswizzling with a dest pitch. 2016-03-26 23:38:50 -07:00
Unknown W. Brackets 3593a7963e Cleanup and clarify texture swizzling funcs. 2016-03-26 21:55:32 -07:00
Unknown W. Brackets b1a2a44377 Vulkan: Update dyn stencil state only as needed. 2016-03-26 20:15:42 -07:00
Unknown W. Brackets 3a08ff5c06 Vulkan: Use new stencil state calculation. 2016-03-26 20:15:41 -07:00
Unknown W. Brackets b6778bf4ad Vulkan: Fix flat texture scaling. 2016-03-26 17:26:55 -07:00
Unknown W. Brackets 5e23d63538 Vulkan: Cleanup now that all formats decode direct. 2016-03-26 17:26:55 -07:00
Unknown W. Brackets 7931a01de7 Vulkan: Decode 4-bit clut directly. 2016-03-26 17:26:54 -07:00
Unknown W. Brackets 19f76aab30 Vulkan: Correct font texture optimization.
Oops, missed this when swapping color formats.
2016-03-26 17:26:49 -07:00
Unknown W. Brackets 9a4b74cd09 Vulkan: Directly decode simple palette textures. 2016-03-26 17:25:45 -07:00
Unknown W. Brackets 9cd0544137 Flip GL debug stencil/depth in non-buffered. 2016-03-26 17:25:45 -07:00
Henrik Rydgård 55cb508a95 Merge pull request #8667 from unknownbrackets/vulkan-tex
Vulkan: Swizzle and decode (some) textures directly
2016-03-26 23:08:09 +01:00
Unknown W. Brackets 6c0a5ca503 Vulkan: Oops, correct DXT stride. 2016-03-26 15:02:12 -07:00
Unknown W. Brackets a130e2695e Vulkan: Remove unused color conv func. 2016-03-26 15:02:11 -07:00
Unknown W. Brackets 9b15ce0934 UI: Fix texture scaling level selection.
It previously was not possible to select 4 on a POT-only device, since it
would become 3, which would in turn become 2.

Also, this allows selection on other backends, e.g. Vulkan.
2016-03-26 15:02:10 -07:00
Unknown W. Brackets fe4c0e9f5a Vulkan: Fix various problems with tex scaling. 2016-03-26 15:02:09 -07:00
Unknown W. Brackets 99bf2c5aeb Vulkan: Decode the simplest tex formats directly. 2016-03-26 15:02:08 -07:00
Unknown W. Brackets 29287ea0ee Vulkan: Reorganize a bit so we can decode directly. 2016-03-26 15:02:07 -07:00
Unknown W. Brackets e7ea1da99f Vulkan: Swizzle instead of converting colors. 2016-03-26 15:02:06 -07:00
Henrik Rydgård a49cba7d0d Merge pull request #8665 from unknownbrackets/d3d9-depth
d3d9: Check actual FBO format for INTZ support
2016-03-26 21:15:44 +01:00
Henrik Rydgård 121490172d Merge pull request #8666 from unknownbrackets/texcache
Fix a crash where we used an old framebuf
2016-03-26 21:15:11 +01:00
Unknown W. Brackets 7d5f308494 Fix a crash where we used an old framebuf.
This was causing Breath of Fire 3 to crash, because it had an offset
framebuffer set that was never detatched.
2016-03-26 12:30:34 -07:00
Unknown W. Brackets f31fbb9417 Cleanup fbTexInfo_ when detaching framebuffers. 2016-03-26 12:30:34 -07:00
Unknown W. Brackets aad04f2941 Centralize the texcache key format. 2016-03-26 12:30:33 -07:00
Unknown W. Brackets e8c8f19aec Move framebuf attachment into central code.
It doesn't look like this will be different, and there's a bug in it.
2016-03-26 12:30:32 -07:00
Unknown W. Brackets 817df153f8 Vulkan: Don't replace images on old fb textures. 2016-03-26 12:30:32 -07:00
Unknown W. Brackets adc9946641 Vulkan: Ask for COHERENT staged texture memory. 2016-03-26 12:18:49 -07:00
Unknown W. Brackets 49c353f40c d3d9: Check actual FBO format for INTZ support. 2016-03-24 19:04:25 -07:00
Unknown W. Brackets 4568affe4d Vulkan: Fix error message if backend can't load. 2016-03-24 17:03:04 -07:00
Henrik Rydgard bd17351ef9 Texcache: Minor refactor/cleanup 2016-03-22 23:56:55 +01:00
Henrik Rydgard 8a39794c47 Revert "Enable the Unpack Subimage path on DX9 (maybe should just remove the check)"
This causes some breakage that need investigation.

This reverts commit 1970d38650.
2016-03-22 23:56:55 +01:00
Henrik Rydgard e270b955bb x86/x64: Minor vertex decoder optimization 2016-03-22 23:56:55 +01: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 aec117d8ea Vulkan: Allow resizing window/backbuffer.
Not tested much on Android.  Fixes #8656.
2016-03-21 19:45:27 -07: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 efa508d492 Vulkan: Fix texture scaling 2016-03-21 21:26:48 +01: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 Rydgard 20f227cc4d Vulkan: Fix Prescale UV 2016-03-21 18:50:11 +01:00
Henrik Rydgård e8758c1ea0 Merge pull request #8652 from unknownbrackets/savestates
Fix some old savestates
2016-03-21 17:05:58 +01:00
Henrik Rydgård 257c01bd84 Merge pull request #8655 from unknownbrackets/vulkan-softgpu
Fix softgpu rendering in Vulkan
2016-03-21 16:48:59 +01:00
Unknown W. Brackets caea1da99a softgpu: Flip vertically in the Vulkan backend. 2016-03-21 07:17:38 -07:00
Unknown W. Brackets f3d113a777 thin3d: Use 32-bit indexed drawing to match. 2016-03-21 07:17:38 -07:00
Unknown W. Brackets 1b8985a080 thin3d: Fix tranposed Vulkan bufs. 2016-03-21 07:17:37 -07:00
Henrik Rydgård 6831f6fc46 Merge pull request #8650 from unknownbrackets/vulkan-buf
Vulkan: Cache only device in push buffers
2016-03-21 08:27:50 +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