Commit Graph
34518 Commits
Author SHA1 Message Date
Henrik Rydgård 5201a2a4ab Merge pull request #16457 from lvonasek/hotfix_openxr_rendering
OpenXR - Broken rendering fixed
2022-11-28 20:30:35 +01:00
Lubos 804a336a1e OpenXR - Hide unsupported layout options 2022-11-28 19:58:49 +01:00
Lubos d466ae161a OpenXR - HUD max scale fixed 2022-11-28 19:46:46 +01:00
Lubos 164c27f5ec OpenXR - Screen stretching fixed 2022-11-28 19:25:13 +01:00
Henrik Rydgård 9bb0c91a75 Sneak in a minor software transform optimization 2022-11-28 11:10:50 +01:00
Henrik Rydgård cd51c05d1c Merge pull request #16455 from Narugakuruga/patch-12
Update zh_CN.ini
2022-11-28 10:41:10 +01:00
Narugakuruga 54e37671ed Update zh_CN.ini 2022-11-28 17:34:43 +08:00
Narugakuruga 59874e3161 Update zh_CN.ini 2022-11-28 17:32:51 +08:00
Narugakuruga 3e9931a446 Update zh_CN.ini 2022-11-28 17:25:55 +08:00
Henrik Rydgård 612d2181a1 Merge pull request #16449 from hrydgard/circle-button-workaround
Blind workaround for Shining Ark circle button problem
2022-11-28 09:51:26 +01:00
Henrik Rydgård 5b3a993db7 Typo fix 2022-11-28 09:50:23 +01:00
Henrik Rydgård ed151473c2 Merge pull request #16454 from unknownbrackets/fb-depal-fb
GPU: Support framebuf depal from rendered CLUT
2022-11-28 09:47:22 +01:00
Henrik Rydgård 06b7fb9a6a Merge pull request #16452 from unknownbrackets/gedebugger
GE Debugger: Correct LastVRAM mirror wrap around
2022-11-28 08:02:09 +01:00
Henrik Rydgård 3b960a92fc Merge pull request #16451 from unknownbrackets/ui-psp-glow
UI: Add a slight glow around PSP in control map
2022-11-28 08:00:26 +01:00
Unknown W. Brackets 9425d0670a GPU: Prevent decimating CLUT framebuffers.
Fixes color changing after a few moments in Kurohyo.
2022-11-27 21:24:02 -08:00
Unknown W. Brackets a7c4258e9f GPU: Support framebuf depal from rendered CLUT.
Using a temporary always for simplicity.
2022-11-27 21:16:24 -08:00
Unknown W. Brackets 194c4b0286 TexCache: Support offset in rendered CLUTs.
We already copy to a temp, so just use that copy to normalize out the
offset.  Should even get RECT2LIN correct, but most cases are 1 pixel high
anyway.
2022-11-27 21:15:15 -08:00
Unknown W. Brackets a6bc9acf16 GE Debugger: Correct LastVRAM mirror wrap around.
Oops, this fixes crashes when textures are used near the edge of VRAM.
2022-11-27 19:59:57 -08:00
Unknown W. Brackets c6992d45ef UI: Add a slight glow around PSP in control map.
This makes it more distinguishable from some dark backgrounds.
2022-11-27 19:19:45 -08:00
Unknown W. Brackets 5666dc5890 Vulkan: Correct maxAniso handling in Draw. 2022-11-27 19:17:01 -08:00
Henrik Rydgård f2b5f06dac Merge pull request #16450 from unknownbrackets/touch-right-analog
UI: Fix right analog with single button
2022-11-28 01:00:16 +01:00
Unknown W. Brackets 247848891e UI: Dry out code and check bounds to be safe. 2022-11-27 15:40:55 -08:00
Unknown W. Brackets 89aeb2484e UI: Fix right analog with single button.
Release first, then press so that we press when the opposing direction is
mapped to the same button.
2022-11-27 15:32:56 -08:00
Unknown W. Brackets d09b2e4ce8 Merge pull request #16448 from hrydgard/cull-fix
Empirical attempt at fixing #15661
2022-11-27 15:16:45 -08:00
Henrik Rydgård 21647cd3c1 Blind workaround for Shining Ark circle button problem
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.

Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Henrik Rydgård 72029b678a Empirical attempt at fixing #15661
Basically, software culling fails in some configuration, like the one we
end up with on Mali.

As noted by unknownbrackets in #15661, the viewport Z scale, offset is -0.0, 0.0.

We end up with CalcCullParams computing minZValue == maxZValue == 1.0f,
and with the vertices ending up with z,w == 1.0, 1.0.
and as a result, the inside/outside calculations will always decide that
it's outside.

Changing the comparisons from >= / <= to > / < fixes the problem, but I
don't know if this might break something else.

Anyhow, here's the simple way to repro on PC:

Change the ending of GPU_Vulkan::CheckFeatures to:

```c
	return GPU_USE_LIGHT_UBERSHADER | GPU_USE_BLEND_MINMAX | GPU_USE_TEXTURE_NPOT | GPU_USE_INSTANCE_RENDERING |
		GPU_USE_VERTEX_TEXTURE_FETCH | GPU_USE_TEXTURE_FLOAT | GPU_USE_16BIT_FORMATS | GPU_USE_TEXTURE_LOD_CONTROL |
		GPU_USE_DEPTH_TEXTURE | GPU_USE_ACCURATE_DEPTH;
```
2022-11-27 23:16:16 +01:00
Henrik Rydgård 200e2f26c4 OffsetY fix for non-vulkan backends 2022-11-27 22:58:49 +01:00
Henrik Rydgård c2d54ea0aa Merge pull request #16446 from hrydgard/aspect-fix
Aspect ratio configuration fixes
2022-11-27 22:55:04 +01:00
Henrik Rydgård e02db20a2d Some more UI fixes. Live update for the aspect slider 2022-11-27 21:59:04 +01:00
Henrik Rydgård 72ec865f7e Fix for the aspect ratio plugin variable. Disable aspect ratio control in stretch mode. 2022-11-27 21:55:22 +01:00
Henrik Rydgård 7c72fa06ee Fix issue where render resolution wasn't applied correctly. 2022-11-27 21:34:51 +01:00
Henrik Rydgård 11c1b539e0 Merge pull request #16445 from hrydgard/new-screen-size-controls
New screen size controls on Display Layout & Effects screen
2022-11-27 20:04:32 +01:00
Henrik Rydgård 973eec5b42 Another tweak to the OpenGL adreno bug detection.
See #16015
2022-11-27 20:02:06 +01:00
Henrik Rydgård dbd799bce3 Add new translation key "Aspect Ratio" 2022-11-27 19:44:45 +01:00
Henrik Rydgård a0f10141ab lang; Stretching->stretch 2022-11-27 19:35:13 +01:00
Henrik Rydgård 981a8778a4 Lang: Remove old stuff, add missing lines 2022-11-27 19:32:41 +01:00
Henrik Rydgård 689860b3a0 Qt buildfix, apply feedback 2022-11-27 17:33:15 +01:00
Henrik Rydgård 0a3d78221e Fix drag-background-through-buttons problem by adding "touch exclusive" mode to viewgroups.
Not using universally because I don't want to debug all the issues...
2022-11-27 16:16:18 +01:00
Henrik Rydgård d310636eb4 Break out the background into a separate view. 2022-11-27 16:16:18 +01:00
Henrik Rydgård d8ff6876cd Rework UI a bit (first step, will clean up more). 2022-11-27 16:16:18 +01:00
Henrik Rydgård d667bd84a3 Add back the old stretch-if-close-to-16:9 hack 2022-11-27 16:16:18 +01:00
Henrik Rydgård bdfde4cbac Implement the new screen sizing parameters 2022-11-27 16:16:04 +01:00
Henrik Rydgård 71410f2cb7 Merge pull request #16443 from hrydgard/minor-vulkan-refactor
Break out VKRFramebuffer/VKRRenderpass from VulkanRenderManager
2022-11-27 11:30:04 +01:00
Henrik Rydgård 31af24a230 Break out VKRFramebuffer/VKRRenderpass from VulkanRenderManager 2022-11-27 10:22:37 +01:00
Henrik Rydgård e4998ade6f Merge pull request #16442 from unknownbrackets/vulkan-geometry-safety
Vulkan: Only use geometry shaders with accurate depth
2022-11-27 09:02:57 +01:00
Unknown W. Brackets 1d00824528 Vulkan: Only use geometry shaders with accurate z.
Just to be safe, since that's what it's most well tested with.
2022-11-26 23:28:57 -08:00
Henrik Rydgård 767a877ab9 Merge pull request #16441 from ThirteenAG/master
Exposed more emulator things to devctl api
2022-11-27 00:02:32 +01:00
Henrik Rydgård a4b4d4ae2f Merge pull request #16439 from unknownbrackets/ppge-512
PPGe: Respect 512 texture limit
2022-11-27 00:01:58 +01:00
Henrik Rydgård 8952110486 Merge pull request #16440 from unknownbrackets/softgpu-inversion
softgpu: Allow inversions when w >= -1.0
2022-11-26 23:01:19 +01:00
ThirteenAG 223ca5888e exposed more emulator things to devctl api
added
EMULATOR_DEVCTL__TOGGLE_FASTFORWARD
EMULATOR_DEVCTL__GET_ASPECT_RATIO
EMULATOR_DEVCTL__GET_SCALE
2022-11-27 00:26:57 +03:00