Commit Graph
27588 Commits
Author SHA1 Message Date
Henrik Rydgård 6a2f45c2e1 Unify UpdateCmdInfo 2018-02-26 11:48:56 +01:00
Henrik Rydgård 8cef1f0f8d GPU: Unify command table (cmdInfo_) 2018-02-26 11:44:02 +01:00
Henrik Rydgård a8a34fef9c Virtualize CheckGPUFeatures 2018-02-26 11:35:37 +01:00
Henrik Rydgård feb4694acc Unify DispatchSubmitPrim as much as possible 2018-02-26 11:33:17 +01:00
Henrik Rydgård 967018b7f8 Unify Execute_LoadClut 2018-02-26 11:32:02 +01:00
Henrik Rydgård c7f8f4c5ca Unify Execute_Prim 2018-02-26 11:22:27 +01:00
Henrik Rydgård 23980065ba Unify all the DrawEngine::SubmitPrim 2018-02-26 11:07:30 +01:00
Henrik Rydgård 39bf5b1f55 Minor naming and init cleanups in VulkanTexture 2018-02-26 10:50:29 +01:00
Henrik Rydgård eb73cc23cd Some log level changes. 2018-02-26 10:48:29 +01:00
Henrik Rydgård 373e53fa66 Merge pull request #10645 from hrydgard/vulkan-cleanups
Vulkan cleanups: Remove old texture upload method, etc.
2018-02-26 09:24:24 +01:00
Henrik Rydgård b3957ff357 Merge pull request #10649 from unknownbrackets/gl-buffers
GLES: Disable buffer mapping for non-NVIDIA
2018-02-26 08:01:23 +01:00
Unknown W. Brackets beeb9cc3a4 GLES: Disable buffer mapping for non-NVIDIA.
Need more stats on other vendors.  I think it can help if we use it
properly.
2018-02-25 12:51:52 -08:00
Henrik Rydgård e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård eb014e8c6b Try to be more consistent when initializing vulkan structs. 2018-02-25 12:15:29 +01:00
Henrik Rydgård b7b5c5e211 Follow the spec rules about errors when allocating from descriptor pools
See https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateDescriptorSets.html
2018-02-25 12:15:29 +01:00
Henrik Rydgård 8e0e5f9aa6 Extract RecreateDescriptorPool() 2018-02-25 12:15:29 +01:00
Henrik Rydgård 3750327054 Merge pull request #10644 from hrydgard/thin3d-create-header
Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases.
2018-02-25 12:14:39 +01:00
Henrik Rydgård 4b4a2a4096 Buildfixes 2018-02-25 11:25:16 +01:00
Henrik Rydgård 5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård 5d77c63216 Vulkan: Need to count allocated descsets per frame separately from the map, since tess isn't even in-frame cached. 2018-02-24 12:15:22 +01:00
Henrik Rydgård c2c5b42354 Merge pull request #10642 from hrydgard/dynamic-descriptor-pools
Vulkan: Dynamically grow descriptor pools as needed.
2018-02-24 11:08:42 +01:00
Henrik Rydgård d1a8514e72 Vulkan: Dynamically grow descriptor pools as needed. Should help #10641 and similar issues. 2018-02-24 10:24:11 +01:00
Henrik Rydgård 2c2b33649f Merge pull request #10637 from unknownbrackets/gl-aligned
GLES: Fix texture scaling
2018-02-23 23:31:04 +01:00
Unknown W. Brackets 506dfcb916 GLES: Fix texture scaling.
Oops, and I had broken it again.
2018-02-22 19:58:52 -08:00
Henrik Rydgård 898742034e Merge pull request #10636 from KentuckyCompass/ios-shutdown
iOS: fix hang on exit
2018-02-22 14:04:32 +01:00
Kentucky Compass 149ca17df6 iOS: fix hang on exit 2018-02-22 03:04:32 -08:00
Henrik Rydgård 8d80fe0397 Merge pull request #10630 from unknownbrackets/gl-aligned
GLES: Fix unpack misalignment, remove old Qt texture func
2018-02-19 22:34:24 +01:00
Unknown W. Brackets 4b8d8c875d Qt: Remove old texture debug API.
No one's testing it and it's not the best way.  We have a better
implemented API and should use it instead.
2018-02-19 09:09:35 -08:00
Unknown W. Brackets ecd1a04e44 GLES: Fix unpack misalignment, Qt debugger freeing.
We no longer use unpack, so we should always decode to w not bufw.
2018-02-19 09:02:22 -08:00
Henrik Rydgård 8fcaa651a5 Merge pull request #10627 from unknownbrackets/gl-aligned
GLES: Properly free when upscaling textures
2018-02-19 10:08:41 +01:00
Unknown W. Brackets 438951f844 GLES: Properly free when upscaling textures.
Oops.  Fixes crash introduced by #10603.
2018-02-18 19:03:31 -08:00
Henrik Rydgård 78449ce675 Merge pull request #10624 from unknownbrackets/texcache
TexCache: Decimate CLUT variants more often
2018-02-18 22:02:18 +01:00
Unknown W. Brackets e97046da4e TexCache: Decimate aggressively with many variants.
It should be safe to decimate after fewer frames with a threshold like
this.
2018-02-18 12:29:14 -08:00
Unknown W. Brackets d61fd5f6a6 TexCache: Decimate CLUT variants more often.
When creating a new texture, we determine if it has CLUT variants and
decimate more often.
2018-02-18 12:29:01 -08:00
Unknown W. Brackets 864eb5dcad Merge pull request #10611 from hrydgard/vulkan-android-task-switch
Fix issue with Vulkan task switching and resolution changes on Android.
2018-02-13 02:05:02 +00:00
Henrik Rydgård 926b3873df Fix issue with Vulkan task switching and resolution changes on Android. 2018-02-12 17:47:31 +01:00
Henrik Rydgård 038d8b7f3e Merge pull request #10610 from hrydgard/postshader-gl-fixes
GL: Fix issues with switching postprocessing shaders, image cutoff at certain resolution combinations
2018-02-12 14:54:37 +01:00
Henrik Rydgård 7421f2aff6 Postprocessing: Fix bug where scissor cut off the image if render resolution > display resolution 2018-02-12 14:10:54 +01:00
Henrik Rydgård 88e8229159 GL: Need to recompile postshaders on Resized() (which is a bit of a misnomer) 2018-02-12 14:01:52 +01:00
Henrik Rydgård 9e75358cd0 Oops, didn't mean to update the submodules backwards (remains from a bisect) 2018-02-12 11:50:55 +01:00
Henrik Rydgård 1b9c2f26f9 Whitelist mapbuffer usage to NVIDIA only (should maybe add Qualcomm too), it's murder on Mali 2018-02-12 11:46:19 +01:00
Henrik Rydgård 4e5fb6e286 Merge pull request #10606 from unknownbrackets/gl-shutdown
GLES: Fix shutdown while stepping
2018-02-12 00:20:43 +01:00
Unknown W. Brackets 17bcb080f0 GLES: Fix shutdown while stepping. 2018-02-11 15:19:16 -08:00
Henrik Rydgård 39710510ee Merge pull request #10604 from unknownbrackets/gl-buffers
GLES: Use mapped device memory when possible
2018-02-12 00:16:21 +01:00
Unknown W. Brackets be0ab58365 GLES: iOS buildfix. 2018-02-11 14:38:36 -08:00
Unknown W. Brackets 5f1cd19687 GLES: Android buildfix. 2018-02-11 13:17:08 -08:00
Unknown W. Brackets 20b532fc71 GLES: Use buffer storage and explicit flush.
This is just as fast as using glMapBufferRange on desktop.
2018-02-11 13:14:28 -08:00
Unknown W. Brackets 7179e408da GLES: Free localMemory later.
It was still in use sometimes as of MapDevice(), so this is safer.
2018-02-11 12:35:33 -08:00
Unknown W. Brackets edcd2f966a GLES: Use buffer range mapping where appropriate. 2018-02-11 12:35:33 -08:00
Unknown W. Brackets 9eb51a6a36 GLES: Use mapped device memory when possible. 2018-02-11 12:35:32 -08:00