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
Ben Vanik
1104f8e687
Header cleanups and prep.
2015-05-25 00:51:25 -07:00
Ben Vanik
37f1953466
Fixing the assert when window is minimized. For you Rick :)
2015-05-21 19:23:44 -07:00
Ben Vanik
f88bf33b4f
Moving threads to XHostThread and making shutdown not crash.
2015-05-19 22:20:49 -07:00
Ben Vanik
2cacacea8a
Texture fixup.
2015-05-18 19:08:30 -07:00
Ben Vanik
147a70b9c1
Rewriting memory manager.
2015-05-17 00:16:56 +01:00
gibbed
1bdb36eaa8
Added UploadTexture2D and UploadTextureCube to the profiler.
2015-05-13 22:02:16 -05:00
Ben Vanik
f96dda4983
Adding xb-gpu-trace-viewer project.
2015-05-12 22:14:34 -07:00
gibbed
c5c312eb8f
ColorFormat::k_16_16_FLOAT support, maybe.
2015-05-12 06:51:32 -05:00
Ben Vanik
7a00b76a6e
Debugger stuff, and changing to vcproj's/sln.
2015-05-09 17:48:12 -07:00
Ben Vanik
d1ee1512b9
Fixing most clang-format errors.
2015-05-03 10:27:50 -07:00
Ben Vanik
d9e4bc98e1
Code cleanup: removing cxx_compat.h
2015-05-02 10:55:22 -07:00
sephiroth99
fbb3878cf4
Remove cxx_compat.h header
...
Revert commits 6d159dc2 and 3f480d24 . Visual Studio 2013 is not
supported anymore, so they are not needed.
2015-05-02 09:36:34 -04:00
Ben Vanik
e3220f7ae6
Code cleanup: moving poly/ into xenia/base/
2015-05-02 03:42:51 -07:00
Ben Vanik
99816056be
Code cleanup: removing poly.h
2015-05-02 02:29:26 -07:00