Dr. Chat
720f8b0dc2
GL4: Track the internal format of render targets and match them based on that.
2016-05-01 11:23:54 -05:00
Dr. Chat
27bace0e5c
Actually disable writewatch kill in ConvertTexture
2016-02-17 18:04:10 -06:00
Dr. Chat
b14c4ad681
Disable write watch kill in ConvertTexture
2016-02-17 17:57:56 -06:00
Dr. Chat
8bf1bf57fd
Fix GL4 alpha test, use blend disable flag
...
If color clear is enabled, grab the color target no matter what.
Update texture readback code on copy (but not enabled)
Track PA_SC_VIZ_QUERY in UpdateRasterizerState
2016-02-17 17:56:28 -06:00
Dr. Chat
a64e53fba6
Fix include order.
2016-02-05 16:31:01 -06:00
Dr. Chat
6cb7f0c23d
GL4CommandProcessor: Use the new GL4ShaderCache
2016-02-05 16:14:35 -06:00
Dr. Chat
406ec8c6da
GL4ShaderCache util class - caching to filesystem disabled by default
2016-02-05 16:11:00 -06:00
Dr. Chat
e9dd0ce9de
GL4Shader load from binary support
2016-02-05 16:02:14 -06:00
Dr. Chat
b2d8837e52
Fix depth clear when not sourcing from a depth target.
2016-01-22 18:47:27 -06:00
Ben Vanik
6c6f7c6eca
Merge pull request #522 from sephiroth99/lf3
...
Linux compilation/link and compatibility fixes
2016-01-20 19:41:40 -08:00
sephiroth99
1c14964739
Add missing override on virtual function
2016-01-20 10:57:50 -05:00
Dr. Chat
9ed0934123
Swap to modern OpenGL for TFB usage.
2016-01-19 18:31:36 -06:00
Dr. Chat
47f5896089
Add TFB support to the trace viewer
2016-01-18 22:22:15 -06:00
Dr. Chat
a34e82c77f
Disable GL cull on rectangle lists
2016-01-18 21:00:58 -06:00
Dr. Chat
3859b0a091
Add an option for the draw batcher to collect vertex shader output. Disabled by default.
2016-01-18 20:57:36 -06:00
Dr. Chat
55a8964428
Fix shaders reading 10_11_11 bitfields backwards.
2016-01-18 15:46:41 -06:00
Ben Vanik
6777ce6668
Reconcile debugger and save state stuff into a single implementation.
...
Fixes #497 and fixes #496 .
Still rough edges, but at least less duplication.
2016-01-18 11:48:21 -08:00
Ben Vanik
952d35911c
Folding build_tools back into the main repo for simplicity.
2015-12-30 16:53:14 -08:00
Ben Vanik
0e58208add
Dropping elemental-forms and swapping out with imgui.
...
Too much code for such little use. This should simplify porting.
2015-12-26 20:25:24 -08:00
Dr. Chat
990a8baf1b
Fix cases where GL_INFO_LOG_LENGTH returns 0.
2015-12-22 20:15:07 -06:00
Dr. Chat
ab93a6bf64
If last framebuffer texture isn't set, use active framebuffer otherwise don't draw.
2015-12-22 15:44:02 -06:00
Dr. Chat
919d3d080b
Assert on context loss due to a TDR
2015-12-22 15:43:08 -06:00
Dr. Chat
59bee898f7
Always output the shader info log if it's not empty.
2015-12-22 14:41:18 -06:00
Ben Vanik
7419e7eb4a
Trace dump tool, for dumping pngs (and in the future more stuff).
2015-12-13 11:59:14 -08:00
Ben Vanik
95b0ecf774
Sharing more of trace viewer code.
2015-12-13 11:22:47 -08:00
Ben Vanik
ec113275dc
Making texture swizzles dynamic. Seems to fix some color swap issues.
...
And probably exposes many more ;)
2015-12-07 22:39:33 -08:00
Ben Vanik
09022a6ad3
gl_FragCoord support.
2015-12-07 20:45:02 -08:00
Ben Vanik
c86e479214
Replacing old Shader with TranslatedShader.
2015-12-06 10:36:07 -08:00
Ben Vanik
51a8002629
Moving GL backend to new shader translator.
...
This seems to make a lot of things better, but may also break things.
Cleanup to follow.
2015-12-06 00:48:41 -08:00
Ben Vanik
bea8870700
Shuffling old-style ucode.h under gl4.
2015-11-28 16:10:27 -08:00
raven02
44a1fa0c9c
Fix distance vector
2015-11-28 13:17:29 +08:00
Ben Vanik
54215d9fb4
Write shader binaries with --dump_shaders and load them in the compiler.
2015-11-24 20:45:23 -08:00
Ben Vanik
89172da4b7
Unplumbing program_cntl and simplifying shader loading.
2015-11-24 20:24:35 -08: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
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