Commit Graph

3132 Commits

Author SHA1 Message Date
John Godgames bcec142d3e Fixes DXT1 Alpha issues in certain games
https://www.opengl.org/wiki/S3_Texture_Compression#DXT1_with_1-bit_Alpha
2015-11-20 05:10:28 +01:00
Ben Vanik 69e26bcafd Merge pull request #464 from DrChat/rect_cull_fix
Disable GL_CULL_FACES when drawing rectangle lists
2015-11-17 20:24:17 -08:00
Dr. Chat 9ff8aa96e7 Disable GL_CULL_FACES when drawing rectangle lists. 2015-11-17 22:20:43 -06:00
Ben Vanik a556316ba2 Skip xma read when at the end of the stream. 2015-11-16 19:40:43 -08:00
Ben Vanik 2602d54775 Merge pull request #461 from DrChat/trace_viewer_open_dlg
Trace Viewer: Display a File Open Dialog if no File Specified
2015-11-16 18:26:17 -08:00
Ben Vanik c08b2b48e9 Merge pull request #460 from DrChat/color_copy_fix
Color Copy Fix
2015-11-16 18:25:22 -08:00
Dr. Chat f50e2ab10c Trace Viewer: Display a file picker if the user doesn't supply a file on the command line. 2015-11-15 09:15:20 -06:00
Dr. Chat 3efc7f339a Make sure texture swizzles match before performing a copy 2015-11-14 22:34:34 -06:00
Ben Vanik e471767f4c Merge pull request #458 from DrChat/xobject_type_verification
XObject Type Verification
2015-11-12 20:49:41 -08:00
Dr. Chat 4dfe1addaa Verify that LookupObject actually returns an object of the requested type. 2015-11-12 19:06:15 -06:00
Dr. Chat 7fc22f1987 Add a static kType field to all objects 2015-11-12 19:01:55 -06:00
Ben Vanik b970b970f0 Removing another scalar component swap from #273. 2015-11-12 15:53:16 -08:00
Ben Vanik 3d2a5b2495 Reverting depth clear restriction in #330.
The comment is still true: games seem to need more clears.
2015-11-12 14:15:59 -08:00
Ben Vanik e858f87e3e Reverting component changes from #273. 2015-11-12 14:14:37 -08:00
Ben Vanik b6b685aa72 Fixing lint error. 2015-11-11 15:44:24 -08:00
Ben Vanik bc34e00f22 Merge pull request #457 from sabretooth/shader-relative-constant-fix
Shader relative constant fix
2015-11-11 15:33:26 -08:00
Dan Weatherford dca0ab38d5 Show relative constant fetch in the microcode disassembler 2015-11-11 17:13:58 -06:00
Dan Weatherford 2fda17cf3c Fix relative constant fetch on second source operand of shader instruction
The sense for this test was backwards, causing AppendSrcReg to read the wrong
const_n_rel_abs flag if the first operand was not a constant fetch.
2015-11-11 17:13:48 -06:00
Ben Vanik 6c95ca1cdb Moving graphics context creation around to hide actual creation.
Makes it easier to support APIs that don't have a concept of sharing.
2015-11-10 17:38:57 -08:00
Ben Vanik d8fa54ffc4 Fixing super class call in gl4 cp. 2015-11-09 20:28:09 -08:00
Ben Vanik 182f074c3f Merge pull request #455 from sabretooth/xam-user-write-profile-settings
Partially implement XamUserWriteProfileSettings
2015-11-09 15:12:02 -08:00
Dan Weatherford e178853e46 Partially implement XamUserWriteProfileSettings
Handles writing binary blob settings to the user profile which can then be read
by XamUserReadProfileSettings.
2015-11-09 16:53:52 -06:00
Ben Vanik ca5e8fa073 Adding a way to get an hmodule. 2015-11-09 13:59:06 -08:00
Ben Vanik 93708c0c1c xe::format_string utility. 2015-11-09 11:13:34 -08:00
Ben Vanik 65e0e907d8 Normalizing the name of the GL window demo. 2015-11-08 19:11:44 -08:00
Ben Vanik 7366659ab1 Merge pull request #454 from DrChat/texture_invalidation_fix
Texture Invalidation Fix
2015-11-08 17:22:30 -08:00
Dr. Chat c98d10545e Invalidate MMIO Ranges when memory is released or access protections are changed. 2015-11-08 19:14:06 -06:00
Dr. Chat 529227e4e6 MMIOHandler::InvalidateRange 2015-11-08 18:18:28 -06:00
Ben Vanik 8784de0162 Cleaning up unneeded file. 2015-11-08 15:08:27 -08:00
Ben Vanik 5834a42ef3 Dependency injection for apu/gpu/hid. 2015-11-08 15:02:24 -08:00
Ben Vanik 9a6c5c5c74 95% of trace viewer now gpu backend agnostic. 2015-11-08 14:05:37 -08:00
Ben Vanik b5a18b5462 Factoring out a lot of reusable GPU code from gl4/. 2015-11-08 11:54:36 -08:00
Ben Vanik b26f4a5719 Moving imgui input to a shared place. 2015-11-07 12:42:44 -08:00
Ben Vanik 1d9f73ad13 HID demo. 2015-11-07 12:31:07 -08:00
Ben Vanik 4af6c41740 Moving profiling.h to base - UI could be separated for cleanliness. 2015-11-07 12:31:07 -08:00
Ben Vanik 563552f62f Merge pull request #453 from DrChat/instr_fixes
Fix vcmpbfp having incorrect behavior when the value is equal to the bounds
2015-11-07 12:28:44 -08:00
Dr. Chat aeb635e31d vcmpbfp tests 2015-11-07 14:27:24 -06:00
Ben Vanik 2fdb00b4ed Removing use of Emulator from hid/. 2015-11-07 11:09:47 -08:00
Ben Vanik e16fa28822 Fixing elemental clipping. 2015-11-07 11:09:24 -08:00
Ben Vanik 91229de429 Making window demo graphics API-specific. 2015-11-07 10:53:07 -08:00
Ben Vanik f065872241 Adding window demo. 2015-11-07 10:37:46 -08:00
Ben Vanik fdf59fec5f Moving elemental to immediate drawer. 2015-11-07 09:52:57 -08:00
Dr. Chat abf37ed9be Fix vcmpbfp returning that the value is out of bounds for values equal to the bounds. 2015-11-06 19:04:59 -06:00
Ben Vanik 440c807936 Fix error state shutdown crash. 2015-11-06 16:27:07 -08:00
Ben Vanik 35a9697af7 Merge pull request #446 from AlexAltea/master
Fixed mtcrf which was wrongly implemented as mtcr
2015-11-06 15:11:10 -08:00
Ben Vanik 1ffd25c91b Merge pull request #452 from DrChat/vpk_instrs
Fix vpkuwus / Implemented vpkuwum/vpkuhum
2015-11-06 13:43:05 -08:00
Dr. Chat 9985187b23 Implement vpkuwum/vpkuhum
Fixed vpkuwus with signed numbers
Implement some constant sources for vec average/unpack
2015-11-06 15:18:48 -06:00
Dr. Chat 64b0cc9d5e Enabled tests for vpkuhum/vpkuwum and added test with negative numbers for vpkuwus 2015-11-06 14:57:42 -06:00
Ben Vanik d4356b8cfa Removing unused buffers. 2015-11-05 23:08:22 -08:00
Ben Vanik 4c2257a29d Moving imgui to the new ImmediateDrawer. 2015-11-05 23:03:02 -08:00