Joel Linn
f452d6a007
[UI] Fix UB (moved mem) in file picker
...
- References to vector data become UB after vector size changes.
- Add one extra level of indirection to pin the wide string memory
location regardless of vector memory
2022-12-28 14:16:32 -06:00
Joel Linn
7877331d8a
[ImGui] Use ImDrawCmd::IdxOffset field
...
c80e8b964c
https://github.com/ocornut/imgui/issues/4845#issuecomment-1003329113
2022-12-28 14:16:32 -06:00
Triang3l
778333b1b5
[UI] Fix ClearInput not called in ImGuiDrawer after deferred dialog removal
...
Also cleanup the code involved in dialog registration, and update the explanation of why dialog removal is delayed until the end of drawing (the original was written back when window listener and UI drawer callback registration during the execution of the callbacks was deferred, but that was wrong as that might result in execution of callbacks belonging to now-deleted objects).
2022-10-31 18:57:54 +03:00
Triang3l
45050b2380
[GPU] Vulkan fragment shader interlock RB and related fixes/cleanup
...
Also fixes addressing of MSAA samples 2 and 3 for 64bpp color render targets in the ROV RB implementation on Direct3D 12.
Additionally, with FSI/ROV, alpha test and alpha to coverage are done only if the render target 0 was dynamically written to (according to the Direct3D 9 rules for writing to color render targets, though not sure if they actually apply to the alpha tests on Direct3D 9, but for safety).
There is also some code cleanup for things spotted during the development of the feature.
2022-10-09 22:06:41 +03:00
Triang3l
373b143049
[Base] Cvars from Android Bundle/Intent
2022-07-16 13:13:08 +03:00
Triang3l
7b8281aee0
[UI] Android ImGui touch and mouse input
2022-07-14 21:13:40 +03:00
Triang3l
037310f8dc
[Android] Unified xenia-app with windowed apps and build prerequisites
2022-07-11 21:45:57 +03:00
Triang3l
b3edc56576
[Vulkan] Merge texture and sampler descriptors into a single descriptor set
...
Put all descriptors used by translated shaders in up to 4 descriptor sets, which is the minimum required, and the most common on Android, `maxBoundDescriptorSets` device limit value
2022-07-09 17:10:28 +03:00
Triang3l
83e9984539
[Vulkan] Remove required feature checks
...
Fallbacks for those will be added more or less soon, the stable version won't hard-require anything beyond 1.0 and the portability subset
2022-07-03 20:54:34 +03:00
Triang3l
f7ef051025
[Vulkan] Disable validation by default
2022-07-03 19:42:22 +03:00
Triang3l
001f64852c
[Vulkan] VMA for textures
2022-07-03 19:40:48 +03:00
Triang3l
ad1ef84145
Merge branch 'master' into vulkan
2022-07-01 19:53:08 +03:00
Triang3l
e37e3ef382
[GPU] Display swap output in the trace viewer
...
Resolve output is unreliable because resolving may be done to a subregion of a texture and even to 3D textures, and to any color format
2022-07-01 19:50:19 +03:00
Triang3l
d174762a40
Merge branch 'master' into vulkan
2022-07-01 12:51:34 +03:00
Triang3l
28670d8ec2
[UI] Presenter: Rename display size to aspect ratio
2022-07-01 12:50:45 +03:00
Triang3l
fdcbf67623
[Vulkan] Enable VK_KHR_sampler_ycbcr_conversion
2022-06-25 15:46:02 +03:00
Triang3l
4b4205ba00
[Vulkan] Frontbuffer presentation
2022-06-25 14:33:43 +03:00
Triang3l
3fc7d8753c
Merge branch 'master' into vulkan
2022-06-24 23:38:04 +03:00
Triang3l
f4a634c617
[XeSL] xesl_write*Store > xesl_*Store
2022-06-24 23:37:29 +03:00
Triang3l
7a4732e14f
[GPU] XeSL swap shaders
2022-06-24 23:24:30 +03:00
Triang3l
61c4c49d76
Merge branch 'master' into vulkan
2022-06-20 12:34:41 +03:00
Triang3l
3b4845511d
[Vulkan] Don't require an explicit uint64_t cast for SetDeviceObjectName
2022-06-20 12:25:52 +03:00
Triang3l
67ff108f53
[Vulkan] Explain why CreateShaderModule takes uint32_t* [ci skip]
2022-06-20 12:22:41 +03:00
Triang3l
1200b205cf
Merge branch 'master' into vulkan
2022-06-19 17:52:28 +03:00
Triang3l
9b83d3d0f4
[GPU] XeSL resolve shaders + host depth store width fix
2022-06-19 17:50:21 +03:00
Triang3l
166be463be
[XeSL] Metal Shading Language definitions
2022-06-16 21:39:16 +03:00
Triang3l
1ce45ee150
Merge branch 'master' into vulkan
2022-06-02 22:50:14 +03:00
Triang3l
55a91afcc7
[D3D12] Don't decompress unaligned BC textures if supported
2022-06-02 22:48:03 +03:00
Triang3l
9c445d397b
[Vulkan] Fix single-type descriptor pool reuse
2022-05-24 22:37:49 +03:00
Triang3l
4c2f8764d6
Merge branch 'master' into vulkan
2022-05-23 12:36:35 +03:00
Triang3l
8f06ba6f7d
[D3D12] Texture host BPB in LoadModeInfo
2022-05-22 19:28:05 +03:00
Triang3l
6aa30ed074
[GPU] 128-thread groups in all texture load shaders
...
Vulkan's minimum requirement (maxComputeWorkGroupInvocations) is 128.
2022-05-22 18:03:09 +03:00
Triang3l
08769de68b
[Vulkan] Texture object and view creation
2022-05-19 21:56:24 +03:00
Triang3l
b0e1916f75
Merge branch 'master' into vulkan
2022-05-19 21:46:21 +03:00
Triang3l
9aaf19a455
[Vulkan] Remove unused variable in VulkanPresenter::GuestOutputImage::Initialize
2022-05-19 21:45:48 +03:00
Triang3l
46202dd27a
[Vulkan] Basic texture descriptor set allocation/binding
2022-05-17 22:42:28 +03:00
Triang3l
5f2b0a899a
[Vulkan] Fix TransientDescriptorPool ignoring the descriptor type
2022-05-15 22:20:24 +03:00
Triang3l
05adfbc58d
Merge branch 'master' into vulkan
2022-05-15 16:18:41 +03:00
Triang3l
60052fb4fc
[Vulkan] Don't require imageViewFormatSwizzle in the immediate drawer
2022-05-14 22:18:21 +03:00
Triang3l
b9256fcdbd
Merge branch 'master' into vulkan
2022-05-10 15:57:50 +03:00
Caroline Joy Bell
d36c3975d8
[UI] Implement Type::kDirectory in Win32FilePicker
2022-05-07 21:54:26 +03:00
Triang3l
5875f6ab31
[UI] Windows: Disable rounded corners
2022-05-05 21:46:20 +03:00
Triang3l
9e6f96a2fc
Merge branch 'master' into vulkan
2022-05-03 16:21:30 +03:00
Triang3l
fe50c5c2e5
[XeSL] Prefix all local names with xesl_id/var_
2022-05-03 13:48:32 +03:00
Triang3l
b88f715140
Merge branch 'master' into vulkan
2022-05-03 00:13:17 +03:00
Triang3l
443d61c9e1
[D3D12] GetFormatCopyInfo: Remove unused divide_by_block_size variable
2022-04-26 22:42:17 +03:00
Triang3l
fcf6a7ded1
[Android] Minor postInvalidateWindowSurface JNI cleanup
2022-04-26 22:41:11 +03:00
Triang3l
47799163bd
Merge branch 'master' into vulkan
2022-04-04 22:02:46 +03:00
Triang3l
3d48fde5ca
[GPU] XeSL texture load shaders + minor XeSL cleanup
2022-04-04 21:48:27 +03:00
Triang3l
0acb97d383
[Vulkan] EDRAM range ownership transfers, resolve clears, 2x-as-4x MSAA
...
Transfers are functional on a D3D12-like level, but need additional work so fallbacks are used when multisampled integer sampled images are not supported, and to eliminate transfers between render targets within Vulkan format compatibility classes by using different views directly.
2022-04-03 16:40:29 +03:00