Triang3l
4bb0ca0e09
[GPU] Move all xenos.h to gpu::xenos, disambiguate Dimension/TextureDimension
2020-07-11 15:54:22 +03:00
Triang3l
39490f3c3a
[GPU] Centroid interpolation usage comment
2020-07-09 12:22:45 +03:00
Triang3l
1547b9df41
[D3D12] Interpolation at centroid
2020-07-08 23:20:36 +03:00
Triang3l
829c6ee2b0
[D3D12] Dithered alpha to coverage
2020-07-07 23:09:53 +03:00
Cancerous
596f1691c0
[XAM] - correct storage device ID fixes saving and storage detection in many games
...
most of the games this can be evidenced in are Unreal Engine titles or games that otherwise do not work in master yet but it can be shown in Saints Row 2 that does work in the master branch
this ID was found from debugging games where storage device detection wasn't working and reverse engineering of Unreal Engine 3
2020-07-07 01:57:40 -05:00
Triang3l
0fbf0eec9d
[DXBC] ROV: Inline 24-bit depth conversion
2020-07-05 22:50:24 +03:00
Triang3l
713f26b5c8
[D3D12] Use typed buffers for texture untiling, calculate guest address once per thread
2020-07-03 20:03:53 +03:00
Triang3l
1d35ba9ee7
[D3D12] Fix bindless sampler offset
2020-06-23 23:51:59 +03:00
Triang3l
d26f84b36b
[D3D12] Untile whole mip tail to make alignment assumptions later, other mip fixes
2020-06-23 23:49:42 +03:00
Triang3l
bd1a1e2de3
[D3D12] Lint root_parameters_bindless
2020-06-20 12:30:07 +03:00
Triang3l
dbc7794399
[D3D12] Enable bindless resources by default
2020-06-20 01:27:31 +03:00
Triang3l
40e335e2a9
[D3D12] Bindless textures/samplers
2020-06-19 23:52:33 +03:00
Triang3l
9f789e01b6
[DXBC] Fix and cleanup depth-only PS register usage
2020-06-07 15:21:31 +03:00
Triang3l
2cd69092ce
[Kernel] Fix incorrect C-like structure declaration
2020-06-06 22:25:48 +03:00
Triang3l
8a64861ec0
[DXBC] New tfetch: pre-swizzle signs, additive LOD + refactoring
2020-06-06 19:12:34 +03:00
Joel Linn
68dd818029
[GPU] Add workaround for occlusion queries.
2020-06-01 22:40:55 -05:00
Triang3l
aa73d652ba
[DXBC] OpenGL snorm vfetch because why not
2020-05-24 19:25:35 +03:00
Triang3l
04ca28c902
[DXBC] Unbreak signed integer vfetch + don't multiply by 1 in normalization
2020-05-23 19:04:42 +03:00
Triang3l
7f2d9ca929
[D3D12] Revert half-pixel offset through viewport because of SSAA issues
2020-05-23 18:37:28 +03:00
Triang3l
3879ff29b3
[DXBC/GPU] vfetch to new codegen, signed vfetch offset, fix AND with system flags
2020-05-23 17:15:11 +03:00
Gliniak
e80115020e
[Kernel/XAM] Implemented XamContentCreateInternal
2020-05-18 14:07:07 -05:00
Triang3l
3d2b04333e
[D3D12] RT Cache: Fix typos (in something broken anyway)
2020-05-17 16:05:22 +03:00
Triang3l
cf0ddc7549
[D3D12] Disable the proper D3D12 warning about render targets
2020-05-17 13:32:19 +03:00
Triang3l
581646cff2
[GPU] Lint xe_gpu_texture_fetch_t
2020-05-17 01:38:15 +03:00
Triang3l
b7a5c24bb1
[D3D12] d3d12_break_on_error + fix PerformSwap descriptor heap wrap
2020-05-17 00:26:04 +03:00
Triang3l
8341a48210
[D3D12] Fix state of textures bound to both VS and PS
2020-05-16 19:33:22 +03:00
Triang3l
fdd97fc831
[D3D12] Reword clamp FIXME because WONTFIX
2020-05-16 00:19:18 +03:00
Triang3l
8c2f607793
[GPU] Notes about tiled offset patterns
2020-05-14 23:42:54 +03:00
Triang3l
35abd8e2e8
[D3D12] Actually properly select tessellation mode
2020-05-11 22:47:07 +03:00
Triang3l
0d14ae01bb
[D3D12] Allow non-adaptive tessellation for patch primitive types, and all triangle and quad tessellation modes
2020-05-11 22:40:52 +03:00
Triang3l
4631b2b16c
[D3D12] Apply half pixel offset through viewport, remove some 2560 references
2020-05-11 20:37:02 +03:00
Triang3l
6d0e4787fb
[DXBC] Use div for vtx_fmt w0 instead of rcp
2020-05-11 16:51:48 +03:00
Triang3l
a3b4c77fdb
[GPU] Add texture_util::SwizzleSigns for later
2020-05-11 16:30:09 +03:00
Triang3l
b256005b7a
[GPU] Fix GatherInstructionInformation enum values not handled warning
2020-05-11 00:28:26 +03:00
Triang3l
814990f686
[DXBC] ALU scalar ops to new codegen
2020-05-10 20:57:33 +03:00
Triang3l
ef37cbb955
[DXBC] Fix an outdated comment about cube operands
2020-05-10 16:35:40 +03:00
Triang3l
b79ba69548
[DXBC] ALU vector ops to new codegen
2020-05-10 16:33:39 +03:00
Triang3l
3aa0ce3096
[GPU] Shader translator refactoring (mostly ALU), fixes for disassembly round trip and write masks
2020-05-08 23:57:51 +03:00
Triang3l
8f91e580f4
[D3D12] d3d12_queue_priority cvar
2020-05-04 18:55:31 +03:00
Triang3l
62919330b9
[D3D12] Add missing initialization failure handling
2020-05-04 17:15:51 +03:00
Triang3l
f7ad631057
[GPU] ucode doc: revert one accidentally changed character
2020-04-26 17:01:01 +03:00
Triang3l
07e4f84c2b
[GPU] ucode doc: A2xx ALU names, DX9 rules, cube
2020-04-26 16:53:13 +03:00
Triang3l
96a61bc623
[DXBC] All prologues and epilogues to new DXBC code
2020-04-26 13:51:25 +03:00
Triang3l
1799585e92
[DXBC] Control flow to new DXBC code
2020-04-25 19:30:01 +03:00
Triang3l
fb39bac2a1
[Vulkan] Make the title message more clear to users
2020-04-25 14:33:16 +03:00
Triang3l
d65cbc160d
[D3D12] Treat non-ROV truly as fallback in the title bar
2020-04-25 13:59:47 +03:00
Triang3l
64a83af137
[DXBC] Cleanup StartPixelShader, always_reads_mask, and ps_param_gen overall
2020-04-25 00:20:27 +03:00
Joel Linn
6267c73c4c
[SDL] Add global helper to setup the library.
...
Call to SDLHelper::Prepare() is needed before first SDL_InitSubSystem().
- Sets hints (SDL configuration vars).
- Configures logging.
2020-04-23 15:44:58 -05:00
Joel Linn
5463798631
[HID] Implement GetKeystroke() for SDL
2020-04-23 15:44:58 -05:00
Joel Linn
d7d5d92e59
[HID] Fix any poll on XInput.
2020-04-23 15:44:58 -05:00
Joel Linn
c8da7fbfe4
[HID] Optional guide button support.
...
Maybe this is interesting to some games.
2020-04-23 15:44:58 -05:00
Joel Linn
fc96195656
[HID] C++17-ify
2020-04-23 15:44:58 -05:00
Joel Linn
6a1c134cf3
[UI] Capture mouse.
2020-04-23 15:44:58 -05:00
Joel Linn
d1315438f3
[HID] Extend demo to show keystrokes.
2020-04-23 15:44:58 -05:00
gibbed
cf0251cd9f
[Kernel/VFS] Cleanup info query/set+sector size.
...
[VFS] Device now exposes name, attributes, component name max length.
[VFS] Fix STFS device to return 0x200 sector size. XCTD compression
userland code appears to always expect a sector size of 0x200.
[Kernel] Move X_FILE_*_INFORMATION structs to new files.
[Kernel] Move NtQueryInformationFile, NtSetInformationFile,
NtQueryVolumeInformationFile to new file.
[Kernel] Cleanup implementation of NtQueryInformationFile,
NetSetInformationFile, NtQueryVolumeInformationFile.
[Kernel] Properly validate arguments to NtQueryInformationFile,
NetSetInformationFile, NtQueryVolumeInformationFile.
[Kernel] Properly implement query of XFileFsVolumeInformation.
[Kernel] Properly implement query of XFileFsSizeInformation.
[Kernel] Properly implement query of XFileFsAttributeInformation.
2020-04-20 16:08:02 -05:00
gibbed
087247184d
[XAM] Dummy MAC address in *XNetGetTitleXnAddr.
...
[XAM] Dummy MAC address in NetDll_XNetGetTitleXnAddr.
2020-04-20 06:31:02 -05:00
gibbed
1c2d6753bb
[Kernel/VFS] Specify root entry to open from + cleanup.
...
[VFS] Allow specifying root entry to open from with OpenFile.
[Kernel] NtCreateFile now opens from root entry when available instead
of needlessly building a full path and resolving from that.
[VFS] Reduce code duplication by adding Entry::ResolvePath.
[VFS] Remove ResolveBasePath to avoid multiple calls to find_base_guest_path.
2020-04-20 01:14:07 -05:00
gibbed
725f3ce17f
[Base] Make utf8 arguments consistent.
...
[Base] Make utf8 arguments consistent. Fix "sep" to "separator".
2020-04-20 01:14:07 -05:00
gibbed
1f28ff5f18
[Base] Add opt arg to allow empty parts in split.
...
[Base] Add optional argument to allow empty parts in utf8::split.
2020-04-20 01:14:07 -05:00
gibbed
817d87a0a7
[Base] Join paths better.
...
[Base] Join paths better, so the first iteration isn't a join of an empty
string with the first path part.
2020-04-20 01:14:07 -05:00
gibbed
85dbb9d451
[Base] Fix canonicalize path for rooted paths.
2020-04-20 01:14:07 -05:00
Triang3l
f83809f7a1
[D3D12] Non-adaptive quad tessellation
2020-04-19 23:12:39 +03:00
Joel Linn
3d2982e845
[ImGui] Fix drawing lines.
...
ImGui does not orientate triangles.
Culling must not be applied in immediate drawer.
2020-04-19 01:38:58 +02:00
Triang3l
58c104e0cc
[DXBC] SRV binding enum
2020-04-15 23:53:37 +03:00
Triang3l
630a538af3
[D3D12] Reword shader storage error messages
2020-04-14 13:46:18 +03:00
gibbed
aa1c69d7b6
[D3D12] Properly setup shareable shader storage.
...
[D3D12] Properly setup shareable shader storage.
- Properly create shareable shader storage directory.
- Log errors when failing to create shareable shader storage directory
or shareable shader files.
2020-04-14 00:58:30 -05:00
gibbed
f631b02bcf
[XAM] Fix xeXamUserReadProfileSettingsEx.
...
[XAM] Fix xeXamUserReadProfileSettingsEx.
- Properly calculate initial buffer_offset.
- Don't set buffer_size_ptr when its initial value is non-zero.
2020-04-13 17:55:15 -05:00
gibbed
a8c3682b6f
[XAM] Modify default user XUID.
...
[XAM] Modify default user XUID. Fixes behavior in NeoGeo Battle
Coliseum and possibly others. ("You do not have permissions to
perform this operation.")
2020-04-13 14:28:32 -05:00
gibbed
230015f9ca
[XAM] Add default case.
...
[XAM] Add default case in xeXamUserReadProfileSettingsEx.
2020-04-13 14:27:46 -05:00
gibbed
2cc473f60b
[UI] Initialize handle in ImmediateTexture.
2020-04-13 12:57:14 -05:00
gibbed
bc92169fce
[Kernel] Remove unnecessary newline.
2020-04-13 12:57:14 -05:00
gibbed
814728ebbe
[x64] Space r/xmm regs in thunk emitter.
2020-04-13 12:57:14 -05:00
gibbed
b338fb0caa
[Kernel] Reformat locale cvar descriptions.
...
[Kernel] Reformat locale cvar descriptions to include newlines.
2020-04-13 12:57:14 -05:00
gibbed
7e2396f348
[Core] Space sections better when saving config.
2020-04-13 12:57:14 -05:00
gibbed
37fbf39573
[Base] Remove errant whitespace.
2020-04-13 12:57:14 -05:00
gibbed
6ab003dbf8
[Kernel] Reformat license mask description.
...
[Kernel] Reformat license mask description to include newlines.
2020-04-13 12:57:14 -05:00
gibbed
3dc69c6033
[Base] Cleanup set thread name.
2020-04-13 12:57:14 -05:00
gibbed
ce34e1cbb9
[Core] Use UTF8-aware lower.
2020-04-13 12:57:14 -05:00
gibbed
a7d4d6ee70
[Kernel] Use structures in XmpApp.
2020-04-13 12:57:14 -05:00
gibbed
ae7555e9ff
[Kernel] Rename UnknownFEApp to XamApp.
2020-04-13 12:57:14 -05:00
gibbed
fdfc55c8fd
[App] Support a relative content path.
2020-04-13 12:57:14 -05:00
gibbed
edb93cc19c
[Core] Improve config saving.
...
- [Core] Config saving now uses xe::StringBuffer instead of
std::ostringstream.
- [Core] Config saving now supports cvar descriptions with newlines.
- [Core] Config value alignment now 50 (from 40).
- [Core] Config value alignment now takes UTF8 into account instead
of raw byte length.
2020-04-13 12:57:14 -05:00
gibbed
dc119c178f
[Base] Add repeating character append to StringBuffer.
2020-04-13 12:57:14 -05:00
gibbed
96067fb293
[Base] Add sanity checks in StringBuffer.
2020-04-13 12:57:14 -05:00
gibbed
60681eeb23
[Base] Add xe::utf8::count.
2020-04-13 12:57:14 -05:00
gibbed
e03368c37e
[XAM] Fix args of XamUser*ProfileSettings(Ex).
...
- Update arguments of XamUserReadProfileSettings/
XamUserReadProfileSettingsEx.
- Fix arguments of XamUserWriteProfileSettings.
2020-04-13 12:57:14 -05:00
gibbed
3c8493dea2
[XAM] Clean up user index handling & stub.
...
- Clean up user index handling in XamUserGetXUID,
XamUserGetSigninState, XamUserReadProfileSettings,
XamUserWriteProfileSettings, XamUserCheckPrivilege,
XamUserContentRestrictionGetFlags, XamUserAreUsersFriends.
A user index of 0xFF does not mean anything special and is outright
invalid.
- Move XamUserReadProfileSettings code to new
xeXamUserReadProfileSettingsEx.
- Implement XamUserReadProfileSettings/XamUserReadProfileSettingsEx
which now call xeXamUserReadProfileSettingsEx.
- Reorganized xeXamUserReadProfileSettingsEx so that the needed buffer
size is checked before user index is validated, so that calls to
determine necessary buffer size return correctly instead of an error
about invalid user index.
- Stub XamUserIsOnlineEnabled.
2020-04-13 12:57:14 -05:00
gibbed
134067d25e
[XMA] Add default case in av_log_callback.
2020-04-13 12:57:14 -05:00
gibbed
ce955e5aaa
[XMA] Reorganize ReadRegister/WriteRegister a bit in XmaDecoder.
2020-04-13 12:57:14 -05:00
gibbed
e99916b352
[Kernel] Clean up XAM registration function declarations.
2020-04-13 12:57:14 -05:00
Gliniak
a87c3785ee
Template for 0xFE message: 0x21012
...
FYI: This message don't have length
2020-04-13 10:39:29 -05:00
Rados??aw Gli??ski
64dbd9936e
"Template" for 0xFE message: 0x22005
2020-04-13 10:39:29 -05:00
Silent
f775fe8c83
[CPU] Fix off-by-one in max ordinals check
2020-04-12 21:53:46 -05:00
Silent
9205a6b062
[Kernel] Fixup GetProcAddressByOrdinal
...
Now properly takes a global lock when populating guest_trampoline_map_
as opposed to taking and immediately releasing it
Also removes a redundant find() from guest_trampoline_map_
so map is not searched twice if the function has already been generated.
2020-04-12 21:53:46 -05:00
Triang3l
5795d25afe
[D3D12] Remove runtime check of cvars::d3d12_edram_rov
2020-04-12 20:48:35 +03:00
Triang3l
0f0ed0eb21
[DXBC] RDEF enums, ISGN/PCSG/OSGN structs and enums
2020-04-11 20:25:37 +03:00
gibbed
112c66df69
[UI] Fix window file drop handling.
2020-04-10 08:33:53 -05:00
gibbed
e0f3458026
[Kernel] Maybe stub DmGetXbeInfo better.
2020-04-09 17:54:40 -05:00
gibbed
fe016cc60c
[Kernel] Fix vswprintf debug log.
2020-04-09 17:54:22 -05:00
gibbed
15866274a8
[Kernel] Stub a few more XBDM functions.
2020-04-09 16:59:37 -05:00