Luke Usher
6d15ab07d3
Revert "Remove __try/__catch blocks: Vectored Exceptions made this
...
unnecessary"
This reverts commit 1ff481ac0a
.
2018-08-16 22:05:11 +01:00
Luke Usher
1e53620385
Merge pull request #1394 from LukeUsher/more-performance-tuning
...
More performance tuning
2018-08-16 20:46:29 +01:00
Luke Usher
1ff481ac0a
Remove __try/__catch blocks: Vectored Exceptions made this unnecessary
2018-08-16 20:35:58 +01:00
Luke Usher
62f2f8dc80
Stop non-xbox threads from burning too many cycles. Slight performance boost (1-5fps in JSRF on my machine)
2018-08-16 20:31:20 +01:00
Luke Usher
736ed4033c
Merge pull request #1393 from ergo720/mm_boot_layout_fix
...
Persist memory layout across quick reboots
2018-08-16 20:30:06 +01:00
ergo720
397efc08fc
Bug fixes
2018-08-16 20:57:00 +02:00
ergo720
67b5b9b341
Memory layout
2018-08-16 16:27:45 +02:00
Luke Usher
96d0fcca39
Merge pull request #1392 from PatrickvL/Remove_USE_D3D9
...
Removed CXBX_USE_D3D9
2018-08-16 10:10:00 +01:00
PatrickvL
66818aab59
Removed CXBX_USE_D3D9, fixes #1367
2018-08-16 09:48:48 +02:00
Luke Usher
f73114df61
Merge pull request #1388 from ergo720/logger
...
Log levels and modules - v0.2 milestone
2018-08-16 08:00:17 +01:00
RadWolfie
8c31d5e24e
Fixes and tuneup
...
* Reduce duplicate methods perform same task into one simple function.
* Use EmuShared to obtain updated log settings instead of WM_COPYDATA message.
* FIXED: Set log config for second GUI process
* FIXED: Proper update logging config to EmuShared instead of repeatly send when it is indeed in use.
* Without this fix, it will affect other GUI process emulating a title.
2018-08-15 18:49:42 -05:00
ergo720
54f95fc33b
Merge branch 'develop' of https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into logger
2018-08-15 23:16:16 +02:00
ergo720
430e3f1eea
Fix an issue where relaunched xbe's were still using the old logging settings
2018-08-15 00:37:41 +02:00
Luke Usher
0b0c3429c4
Merge pull request #1389 from LukeUsher/performance-tuning
...
Performance tuning: First batch
2018-08-14 21:55:00 +01:00
ergo720
a3b21dc7bf
Also make LOG_TEST_CASE active on release builds as well
2018-08-14 22:24:02 +02:00
Luke Usher
916a11cb1c
A cleaner solution to the previous commit
2018-08-14 15:39:15 +01:00
Luke Usher
2b63163f6b
Allow multiple sections with the same name, but different offsets. TODO: A better fix for this
2018-08-14 14:50:44 +01:00
ergo720
a5d97e6be0
Use LOG_PREFIX as an intrinsic parameter of the debug macros
2018-08-14 14:51:38 +02:00
ergo720
82f429f3c9
Fixed LoggedModules bug + refactored log gui + allow to print debug messages also on release builds
2018-08-14 13:50:58 +02:00
Luke Usher
737705063d
Let Vertex Buffer conversion take StartIndex as a parameter
...
This boosts Dashboard 4920 from ~20FPS to 60FPS on my machine.
2018-08-14 10:10:29 +01:00
Luke Usher
c62519932a
Let the compiler automatically generate parallel code where possible.
2018-08-14 10:08:51 +01:00
ergo720
524fb1f06d
Forgot to use to_underlying in some places
2018-08-13 23:10:29 +02:00
ergo720
1810c4dae0
Small fixes
2018-08-13 21:51:07 +02:00
ergo720
469f7e9f43
Improvements
2018-08-13 20:50:54 +02:00
ergo720
ca1bda76c8
Bug fixes
2018-08-13 20:50:54 +02:00
ergo720
26c61b5381
Added log window to GUI
2018-08-13 20:50:54 +02:00
ergo720
00ed9cfe00
Allow cxbxr to build with new logging
2018-08-13 20:50:54 +02:00
ergo720
069767174c
Huge logging refactoring (doesn't build yet)
2018-08-13 20:50:54 +02:00
ergo720
47f79d29d7
Damn, also update these ones
2018-08-13 20:50:54 +02:00
ergo720
c66426b6b3
Finished logging refactoring
2018-08-13 20:50:54 +02:00
ergo720
af8e8526dc
Refactoring logging (in progress)
2018-08-13 20:50:54 +02:00
ergo720
85ac039e62
Added logging leven and module
2018-08-13 20:50:54 +02:00
RadWolfie
1926e0428b
Merge pull request #1386 from PatrickvL/SetVertexData_fixes
...
Set vertex data fixes
2018-08-13 12:53:03 -05:00
PatrickvL
d501ac0745
Set default vertex colors according to persistent usage vertex shader flags.
2018-08-13 11:29:04 +02:00
PatrickvL
4a44af0d03
Introduced and used VshHandleToXboxVertexShader(), preventing a potential issue loosing the high-bit
2018-08-13 11:26:40 +02:00
RadWolfie
d58d2b29cb
Possible permanent solution commit
2018-08-13 09:23:30 +02:00
RadWolfie
463c208cb1
Minor fixup for extra and missing tabs from pull request.
2018-08-12 12:02:30 -05:00
PatrickvL
95899d648e
Merge pull request #1384 from Voxel9/SetVertexData-Hotfix
...
D3D: Fix vertex diffuse colors not initializing properly
2018-08-12 18:54:58 +02:00
Voxel
f3f8d5d0a3
Get rid of global variable.
2018-08-12 16:54:02 +01:00
Voxel
738daf8bae
Tab spacing consistency
2018-08-12 14:10:33 +01:00
Voxel
9c3a3e8d58
Fix vertex diffuse colors not initializing properly/use proper diffuse values.
2018-08-12 13:04:20 +01:00
PatrickvL
46f900f88c
Merge pull request #1383 from revel8n/shader_improvements
...
Shader improvements
2018-08-11 18:34:31 +02:00
revel8n
257f48f3f3
Initial change to improve compilation of pixel shaders
...
- Update enumeration with initial handler of 'texld' instruction for ps version 1.4
- Changed fake register assignments to be against 't#' registers as they become read-only in ps version > 1.4 and need to be replaced by the increased number temporary ('r#') registers in arithmetic instructions in all cases
- Added check for "constant with modifier" optimization within 'CombineInstructions' to resolve conflict with 'FixConstantModifiers' optimizations
- Moved call to 'CombineInstructions' earlier in the optimizations in order to catch cases created during xbox specific instruction translations before they are modified by other optimizations that then made the patterns unrecognizable
2018-08-11 08:22:10 -05:00
revel8n
7b2e001cff
Ensure usage index is set on position declaration to ensure validity when more than one is used
2018-08-11 07:59:21 -05:00
PatrickvL
d9c0145d84
Merge pull request #1380 from RadWolfie/dinput-hotfix
...
Fix controller's input conflict between DInput and XInput controllers
2018-08-11 06:40:18 +02:00
RadWolfie
c9d68118d4
Fix controller input conflict between DInput and XInput controllers
2018-08-10 16:13:46 -05:00
Luke Usher
5ba5da9617
Merge pull request #1377 from revel8n/vertex_shader_improvements
...
Vertex shader improvements
2018-08-09 19:34:26 +01:00
Luke Usher
114041f3a8
Fix Zapper!
2018-08-09 19:21:41 +01:00
Luke Usher
5b45eba1a9
Implement dcl overrides: Fixes VertexShaders XDK sample
2018-08-09 15:50:53 +01:00
revel8n
9e0e367d15
Update vertex shader compilation to version 2.x
...
- Added define for max temporary register count
- Added define for max instruction counts
- Updated address register accesses to use 'mova' instruction
- Updated shader versions to '2.x'
- Updated shader instruction truncation logic to use max instruction define
- Updated register usage arrays to use max temporary register define
- Updated register usage logic to make use of 'NumTemps' vertex shader caps
2018-08-09 05:11:43 -05:00