Commit Graph
27588 Commits
Author SHA1 Message Date
Henrik Rydgård 6a3d41892a Workarounds for issue with "accurate depth". See #9545, #10087 2017-11-21 12:11:05 +01:00
Unknown W. Brackets 090d1d1ce3 Merge pull request #10166 from hrydgard/update-armips
Update armips to latest. See #10161
2017-11-20 22:25:48 -05:00
Henrik Rydgård fe62131c99 Update armips to latest. See #10161 2017-11-20 17:18:18 +01:00
Henrik Rydgård 674d5c7dbb Merge pull request #10130 from hrydgard/lod-bias-fixes
Mipmaps: Disable slope mode pending a better method. Implementing it entirely as a LOD bias is not the way it works.
2017-11-20 13:49:39 +01:00
Henrik Rydgård a005bf747d Merge pull request #10164 from hrydgard/vulkan-error-checks
Fix message asserts on Android. Add more of them to check things in Vulkan code.
2017-11-20 13:48:58 +01:00
Henrik Rydgård 7ab6956828 The UNKNOWN(3) mip selection mode seems to act like CONST. Keep that working. 2017-11-20 12:39:01 +01:00
Henrik Rydgård 27a60f5e58 Fix message asserts on Android. Add more of them to check things in Vulkan code. 2017-11-20 12:11:47 +01:00
Henrik Rydgård 7ab403e320 Merge pull request #10158 from hrydgard/misc-refactor
Some minor refactors in the graphics code
2017-11-19 14:10:04 +01:00
Henrik Rydgård 713afdfe49 Refactor: Unify DecodeVerts and move ComputeNumVertsToDecode to Common 2017-11-19 12:39:09 +01:00
Henrik Rydgård ce2b5df985 Vulkan: Break apart DecodeVerts 2017-11-19 12:33:20 +01:00
Henrik Rydgård 33d3d2f178 GL: Compute "availableUniform" when generating shaders instead of by querying. 2017-11-19 11:25:31 +01:00
Henrik Rydgård 32df9e25da GL: Compute the attrMask while generating the vshader instead of querying.
This will help in the future when we defer GL rendering like we did Vulkan - we will be able to use uniforms, but we won't be able to react to the result of these queries immediately.

Also slightly faster though noone will notice.
2017-11-19 11:24:32 +01:00
Unknown W. Brackets f428f6f85d Merge pull request #10149 from orbea/ppsspp_travis
Silence travis gcc version errors.
2017-11-18 12:32:38 -05:00
orbea 0f98ab21c2 Remove trailing whitespace from CMakeLists.txt 2017-11-18 08:17:08 -08:00
Henrik Rydgård ac518f819a Vulkan: Fix stencil clears to a specific value. Should help #10150 2017-11-18 00:33:20 +01:00
orbea 35dc6c6d64 Silence travis gcc version errors. 2017-11-17 09:47:09 -08:00
Henrik Rydgård 875f70b06d Remove wrong comments 2017-11-17 16:22:07 +01:00
Henrik Rydgård ca21f93d52 GPU: Advance the vertex pointer after BBOX vertices are sent. Fixes #6554, finally! 2017-11-17 13:36:48 +01:00
Henrik Rydgård 506c4eef17 Win32: Improvements to vulkan init error handling 2017-11-16 21:55:06 +01:00
Henrik Rydgård 766ddf9148 Temporarily turn off Vulkan threading on AMD, see issue #10097. 2017-11-16 21:40:00 +01:00
Henrik Rydgård 23b795e947 Vulkan: Forgot to enable our various depth rounding features. 2017-11-16 18:40:19 +01:00
Henrik Rydgård a56d6f2399 Vulkan: Flush at display list waits. Fixes #10095 2017-11-16 16:28:13 +01:00
Henrik Rydgård a0414a6176 Merge pull request #10145 from hrydgard/shortcut-fix
Android: When creating shortcuts, put the file path in data, not in extras.
2017-11-16 15:01:19 +01:00
Henrik Rydgård 5675e8a816 Minor cleanup, and more terrifying orientation hackery 2017-11-16 15:00:27 +01:00
Henrik Rydgård 1fb7560a14 Android: When creating shortcuts, put the file path in data, not in Extras.
Actually, let's keep extras around now for very limited backwards compatibility but check data first.
2017-11-16 14:45:47 +01:00
Henrik Rydgård a1e593b6ba Fix the "vulkan not found" message on android. Fixes #10034 2017-11-16 13:45:15 +01:00
Henrik Rydgård 3222af5f7a Make remoteiso_subdir and server editable on Android. Fixes #10142. Really need a better mechanism for these fields. 2017-11-16 13:33:10 +01:00
Henrik Rydgård 53a351c29d Workaround orientation bug in Android when unlocking the screen.
Or I'm doing something wrong somewhere...

Also kill off "Auto" orientation. It's just a pain.

Fixes #10128
2017-11-16 12:33:50 +01:00
Henrik Rydgård cabfec32c8 Merge pull request #10143 from orbea/gitignore
Update .gitignore for libretro builds.
2017-11-15 20:53:30 +01:00
Henrik Rydgård 23f7819329 Unify RebindFramebuffer, mostly. 2017-11-15 20:44:25 +01:00
Henrik Rydgård 3e3214d54a Vulkan: Fix bug where shader blend texture overwrote normal texture binding. Fixes #10135 2017-11-15 20:43:29 +01:00
orbea 925ac84069 Update .gitignore for libretro builds. 2017-11-15 11:26:55 -08:00
Henrik Rydgård 971995fa3d Move aniso to the sampler cache key. 2017-11-15 19:07:41 +01:00
Henrik Rydgård 023c3736c6 Disable anisotropic filtering in headless, screws up mipmap test 2017-11-15 18:14:04 +01:00
Henrik Rydgård babfec5237 Fix headless to work better in vulkan mode 2017-11-15 17:45:04 +01:00
Henrik Rydgård fce077f191 Make test.py python3-compatible, print out command lines better. 2017-11-15 17:44:53 +01:00
Henrik Rydgård de67c9feff Vulkan screenshots: Fix R/G swap bug. Thanks unknown. 2017-11-15 17:07:38 +01:00
Henrik Rydgård 909fb6b3a4 Cleanups 2017-11-15 16:31:17 +01:00
Henrik Rydgård 830645e7c5 Fix headless to work better in vulkan mode 2017-11-15 15:35:15 +01:00
Henrik Rydgård 143a199082 Merge pull request #10141 from hrydgard/vulkan-screenshots
Windows/Vulkan: implement screenshots.
2017-11-15 15:23:45 +01:00
Henrik Rydgård 7dcc27e96b Make test.py python3-compatible, print out command lines better. 2017-11-15 14:54:10 +01:00
Henrik Rydgård b1a93ad3a5 Attempt to unbreak D3D9 mipmapping (still disabling SLOPE mode) 2017-11-15 14:22:19 +01:00
Henrik Rydgård 313223364c Buildfix, update comments slightly 2017-11-15 14:21:17 +01:00
Henrik Rydgård 65275c29b7 Share UpdateSamplingParams between D3D11 and Vulkan. Support lod bias in Vulkan. 2017-11-15 14:21:17 +01:00
Henrik Rydgård b958432783 Properly zero samplercache keys before filling them out. 2017-11-15 14:21:17 +01:00
Henrik Rydgård f564c59248 Mipmaps: Disable LOD bias in slope mode as that's not how it works.
Works around #9772
2017-11-15 14:21:17 +01:00
Henrik Rydgård 96d6f1cae5 Make sure the device supports transfers from swapchain images when taking screenshots. 2017-11-15 13:57:22 +01:00
Henrik Rydgård 10792cc8e7 Windows/Vulkan: implement screenshots. Something is iffy with the red/blue swap though... 2017-11-15 13:18:29 +01:00
Henrik Rydgård 656ec18ded Vulkan: Dual Src blending strikes again! Disable it on nVidia X1 (Shield TV) due to driver bugs, sigh.
Should help #10136
2017-11-15 10:24:11 +01:00
Henrik Rydgård 3594623a8d Vulkan: Show the preferred depth-stencil format in the feature list. 2017-11-15 09:08:30 +01:00