Commit Graph

407 Commits

Author SHA1 Message Date
Ben Vanik
d6136c6f3f Skeleton debugger project.
Progress on #316.
2015-06-30 15:50:52 -07:00
Ben Vanik
6c571ccfc5 Change rect lists to tri lists instead of strips.
Progress on #304.
2015-06-30 07:35:08 -07:00
Ben Vanik
e80c149492 Fixing button repeat in trace viewer. 2015-06-29 13:16:32 -07:00
Ben Vanik
1106029afc _wfopen -> xe::filesystem::OpenFile.
Progress on #305.
2015-06-28 17:33:46 -07:00
Ben Vanik
0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -07:00
Ben Vanik
74a710e8d4 Reverting interlaced types until we know what they are. 2015-06-27 12:17:37 -07:00
Ben Vanik
8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00
sephiroth99
3cac71322c gl4: fix glsl version detection when there is no vendor specific info 2015-06-27 13:19:50 -04:00
Ben Vanik
883126d497 Simplifying GPU creation.
Part of #296.
2015-06-27 09:11:03 -07:00
Ben Vanik
dd41f01c41 Latest imgui.
Fixes #286.
2015-06-26 19:32:08 -07:00
Ben Vanik
3b42b7b694 Verifying GLSL version and ARB_bindless_texture support.
Fixes #289.
2015-06-26 17:22:13 -07:00
Ben Vanik
4ffaac6d6f --gl_debug flag. 2015-06-26 17:22:13 -07:00
raven02
3a2e7bce97 Typo fix 2015-06-27 08:00:35 +08:00
raven02
767f796306 gl4: more texture formats 2015-06-27 07:37:38 +08:00
Ben Vanik
2785124d1d Cleanup. 2015-06-26 07:56:06 -07:00
Ben Vanik
55f6ab4f38 Merge pull request #281 from raven02/master
gl4: implement texture max anisotropy
2015-06-26 07:52:18 -07:00
raven02
f41c500c43 gl4: minor read format fix 2015-06-26 22:27:59 +08:00
raven02
d7dfb681aa gl4: implement texture max anisotropy 2015-06-25 00:13:49 -07:00
Ben Vanik
fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
Ben Vanik
b46406ee4b More descriptive OpenGL error. 2015-06-22 21:49:57 -07:00
raven02
1fb2ccb552 Add back the comment and we can check it again in future 2015-06-22 09:22:31 -07:00
raven02
68e12a4664 typo fix 2015-06-22 09:07:55 -07:00
raven02
d2de2bf652 gl4 : clear depth and stencil seperately using the DSA version 2015-06-22 09:04:34 -07:00
dariosamo
e5727e7e2a GL4 Translator: ADDs/MULs/SUBs changed to XZ instead of XY. Basic implementation of loops for FLOW_CONTROL. 2015-06-21 14:09:41 -03:00
raven02
abda769c45 gl4: more color formats 2015-06-19 06:11:42 -07:00
sephiroth99
d708e2899f gl4: command_processor: fix locations in geometry shader header
The vertex shader outputs VertexData at location 1. Similarly, the pixel
shader's VertexData input is at location 1.

The geometry shader has both its input and output of VertexData at
location 0. Change it to location 1 so it matches the interface of
the other two shaders.
2015-06-18 02:01:36 -04:00
Drew DeVault
a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik
cabf9d6261 Adding some GPU docs and creating output directories automatically. 2015-06-10 19:20:14 -07:00
Ben Vanik
a446d9c64a No need for thread-local shader translator as all reqs come from GPU CP. 2015-06-07 16:13:04 -07:00
Ben Vanik
58324352ae Stubbed color format. 2015-06-06 22:57:15 -07:00
gibbed
cc79934fee Added k_16_16_16_16. 2015-06-06 18:10:17 -05:00
sephiroth99
dd30330d18 gl4: fix usage of struct as input/output variables
Apparently, structs cannot be used as in/out variables. This causes
shader compile errors on AMD (nVidia doesn't seem to care I guess?).

Remove the structs and put each struct members as its own variable.
2015-06-05 00:11:23 -04:00
sephiroth99
1139a1b6ac gl4: fix nullptr dereference in GL4Shader::CompileProgram
A nullptr dereference will occur when the disassembly string is not
found, which will obviously happen on AMD. Check for the condition and
if it is not found, put a message indicating so.
2015-06-04 23:52:47 -04:00
sephiroth99
48ed0cb903 gl4: fix glGetInteger of GL_SAMPLER_BINDING
GL_SAMPLER_BINDING returns a single value. On AMD drivers, using the
indexed version of glGetInteger to get that value causes a
GL_INVALID_ENUM error. Use the non-indexed version.
2015-06-04 23:32:37 -04:00
Ben Vanik
b6728ce23e Removing additional varargs trampoline in shader translator. 2015-06-03 22:34:58 -07:00
gibbed
c467024ec8 Packet building helpers. 2015-06-03 10:36:37 -05:00
Ben Vanik
954b67df78 Adding readback color format. 2015-06-02 22:46:53 -07:00
Ben Vanik
40a6a12800 Attempting to inline a lot of MMIO operations. Works for GPU stuff mainly. 2015-06-02 20:15:43 -07:00
gibbed
2a40512b74 Made a proper command-line flag out of disabling GL context resetting. --disable_gl_context_reset 2015-06-02 09:09:51 -05:00
Ben Vanik
d816d80190 StringBuffer cleanup. 2015-05-31 14:35:30 -07:00
Ben Vanik
c4ef5d4eb8 Allow AllocFixed of unreserved ranges. 2015-05-29 21:47:19 -07:00
gibbed
35bea36fc4 Added a magic value to XE_SWAP packets to make it obvious if there's an opcode collision. 2015-05-29 15:59:56 -05:00
gibbed
d1dbee2052 Consistency in memset calls. 2015-05-28 05:28:59 -05:00
Ben Vanik
8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
Ben Vanik
41cee3d337 Switching vsync to custom thread. 2015-05-25 21:12:27 -07:00
Ben Vanik
e3ddcd44e7 Minor fixes and fixing thread names. 2015-05-25 21:10:28 -07:00
Ben Vanik
7cabcad69e f5 now also clears cached framebuffers/targets. 2015-05-25 14:58:46 -07:00
Ben Vanik
f5a2b85d42 Switching to xe::mutex. 2015-05-25 00:52:21 -07:00
Ben Vanik
5cfb69434c Modules using object_ref. 2015-05-25 00:51:27 -07:00
Ben Vanik
fff1a7c132 Switching std::thread to XThread and hosting in object_refs. 2015-05-25 00:51:26 -07:00