Ben Vanik
e35fdff632
Porting glslang SPIRV stuff and cleaning some of it up.
2015-11-22 17:42:24 -08:00
Ben Vanik
1b1ff07bf5
Assembler/disassembler via SPIRV-Tools.
2015-11-22 17:42:23 -08:00
Ben Vanik
9072a38f38
Renaming spirv files so VS highlights them correctly.
2015-11-22 17:42:23 -08:00
Dr. Chat
414519fb6c
Expose a playback percentage rather than pointers in TracePlayer
2015-11-22 11:36:31 -06:00
Dr. Chat
a59e83e0d0
Style
2015-11-22 10:15:50 -06:00
Dr. Chat
646db5b8be
Disable controller UI while playing a trace
2015-11-22 09:54:25 -06:00
Dr. Chat
1078d21bd2
Stop resizing columns for the fetch constants
2015-11-21 22:37:24 -06:00
Dr. Chat
e565bafdab
Prevent interaction with the command list UI while a trace is still playing
2015-11-21 22:29:47 -06:00
Dr. Chat
7c25795c05
Display texture guest address and swizzle information
2015-11-21 21:45:11 -06:00
Dr. Chat
7a1d7bd652
Display a progress bar while the command processor is playing a trace
...
- Masks a race condition in the texture cache b/t the UI thread and the GL4 command processor
2015-11-21 21:44:35 -06:00
Dr. Chat
7640448509
TracePlayer: Allow seeking forward more than one command
2015-11-21 21:42:24 -06:00
Dr. Chat
2a88225500
TracePlayer - Expose internal playback pointers
2015-11-21 21:41:41 -06:00
Ben Vanik
b750875e9d
Fixing style.
2015-11-21 19:07:07 -08:00
Robert Dupuis
bdec7a063f
Implemented REG_TO_MEM GPU opcode
2015-11-21 21:20:34 -05:00
Ben Vanik
add68c3743
spirv headers and compiler skeleton.
2015-11-21 11:22:24 -08:00
Dr. Chat
0f2f4ab9b6
Compress/decompress memory automatically in trace files
2015-11-20 17:12:13 -06:00
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
Dr. Chat
9ff8aa96e7
Disable GL_CULL_FACES when drawing rectangle lists.
2015-11-17 22:20:43 -06: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
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
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
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
4af6c41740
Moving profiling.h to base - UI could be separated for cleanliness.
2015-11-07 12:31:07 -08:00
Ben Vanik
f065872241
Adding window demo.
2015-11-07 10:37:46 -08:00
Ben Vanik
4c2257a29d
Moving imgui to the new ImmediateDrawer.
2015-11-05 23:03:02 -08:00
Ben Vanik
c631b965d7
Adding generic immediate mode drawing API and migrating microprofile.
...
Future changes will move elemental-forms and imgui to the common API as
well.
2015-11-05 21:36:05 -08:00
Dr. Chat
9baeef02e0
Allow rect lists to fall through if they don't match the expected format
2015-11-04 05:51:34 -06:00
Dr. Chat
c4165a235c
Fix rectangle list fragment shader for right-aligned vertices.
2015-11-03 21:32:25 -06:00
Dr. Chat
22629c3ef5
Use a slightly better flag name for drawing all framebuffers
2015-09-25 18:54:28 -05:00
Dr. Chat
9f2cf96f8a
Add a flag to copy color targets and depth targets to the screen on swap
2015-09-25 18:30:39 -05:00
Ben Vanik
3fc1d02a09
Suspend some host threads that make guest callbacks.
2015-09-21 21:24:26 -07:00
Ben Vanik
5d033f9cb3
A new debugger.
...
Lots of bugs/rough edges/etc - issues will be filed.
Old-style debugging still works (just use --emit_source_annotations to get
the helpful movs back and --break_on_instruction will still fire).
2015-09-20 21:31:05 -07:00
Ben Vanik
e5fbf840d2
Shuffling kernel/.
2015-09-06 18:07:52 -07:00
Ben Vanik
790ce8aee1
Switch back to std:: muteces. mutices. mutexen.
2015-09-06 13:34:08 -07:00
Ben Vanik
3c96b6fa0a
DANGER DANGER. Switching to global critical region.
...
This changes almost all locks held by guest threads to use a single global
critical region. This emulates the behavior on the PPC of disabling
interrupts (by calls like KeRaiseIrqlToDpcLevel or masking interrupts),
and prevents deadlocks from occuring when threads are suspended or
otherwise blocked.
This has performance implications and a pass is needed to ensure the
locking is as granular as possible. It could also break everything
because it's fundamentally unsound. We'll see.
2015-09-06 09:30:54 -07:00
Ben Vanik
a478658b2c
Re-disabling GPU interrupt log.
2015-09-01 20:24:19 -07:00
Ben Vanik
f5e374f9b5
Changing the way the global lock works. Some things are better, I think.
...
Regressions are likely.
2015-09-01 09:45:32 -07:00
Ben Vanik
b1afab5bb7
Switching to old depth buffer clear style.
2015-08-29 22:13:19 -07:00
Dr. Chat
3d684ac304
Fixup the premake files
2015-08-29 22:04:12 -05:00
Dr. Chat
f2b2a22687
Add gflags to projects that need it only
2015-08-29 21:16:57 -05:00
Ben Vanik
b7203c2989
Logging to with a ringbuffer. Much faster.
2015-08-29 18:06:30 -07:00