Commit Graph

104 Commits

Author SHA1 Message Date
gibbed
e02c5157ef Then I broke DXT3. Fixed DXT3 and DXT5. For real this time. 2014-01-20 20:29:45 -08:00
gibbed
2bda51f5ec Fixed DXT5. 2014-01-20 20:28:42 -08:00
gibbed
e66390ae93 - Proper copying of texture data.
- Support for DXT3, DXT5, 32 float, 16 16 16 16 float.
- Only pad textures for formats that require it.
2014-01-20 20:14:47 -08:00
Ben Vanik
74aac97b3e FMT_8 2014-01-20 17:54:19 -08:00
gibbed
ccfb82d883 Better texture copying. And possible support for DXT1. 2014-01-20 17:49:26 -08:00
Ben Vanik
26a2ed4d75 Fixing shaders. 2014-01-20 17:45:26 -08:00
Ben Vanik
094e165415 Fixing copy. 2014-01-20 17:00:17 -08:00
Ben Vanik
3c98e65997 Fixing texture size. 2014-01-20 16:41:21 -08:00
Ben Vanik
67cc57e918 Whoops. Re-enabling blending. 2014-01-20 16:11:55 -08:00
Ben Vanik
37ed238186 Fixing texture sizing (maybe). Need to do a custom slicing bit, probably. 2014-01-20 16:10:56 -08:00
Ben Vanik
cd72bc33a3 Texture sampling in shaders. 2014-01-20 16:05:34 -08:00
Ben Vanik
4de33a6e2d Making texture fetching split from samplers. 2014-01-20 15:36:33 -08:00
Ben Vanik
af223b2067 Textures part 1: uploading. 2014-01-20 13:57:22 -08:00
Ben Vanik
e469d87678 Detect write to psize and include conditionally. 2014-01-20 11:07:14 -08:00
Ben Vanik
0efd7b4a62 Moving viewport transform to vertex shaders. 2014-01-20 10:46:43 -08:00
Ben Vanik
f5eefb138c Geometry shaders now support disabled viewports. 2014-01-20 03:42:05 -08:00
Ben Vanik
58504d8c0b Initial pass at pointsprites. Needs a lot more work. 2014-01-20 01:13:37 -08:00
Ben Vanik
ea5a6e19dd Disabling culling for rect lists. 2014-01-20 00:45:16 -08:00
Ben Vanik
1cd518b19c Geometry shader work for rect lists and quad lists. 2014-01-20 00:18:14 -08:00
Ben Vanik
bcea3e00f1 Point size output from VS. 2014-01-19 16:41:52 -08:00
Ben Vanik
55fe3aca05 RECIP_IEEE. 2014-01-19 11:07:12 -08:00
Ben Vanik
cb3f2308af Fixing shaders that fetch constants. 2014-01-19 10:29:34 -08:00
Ben Vanik
c257ad0122 Work on D3D11 for various state settings. This code sucks. Needs a rewrite. 2014-01-18 01:50:31 -08:00
Ben Vanik
a7db0f0410 Fixing component access on vfetch. 2014-01-18 01:38:11 -08:00
Ben Vanik
7bdd973935 Proper vertex format input type in shaders. 2014-01-18 01:08:45 -08:00
Ben Vanik
99c72f24f2 Better vertex buffer construction, supporting packed data. 2014-01-18 00:12:57 -08:00
Ben Vanik
ffcd687ef6 Played with making xenia-run a Win32 app, but then logging stops working... 2014-01-15 21:58:09 -08:00
Ben Vanik
2a7f3de1c3 Moving shutdown logic to Emulator. 2014-01-15 07:31:21 -08:00
Ben Vanik
991e7d8ad3 Refactoring window stuff. Still needs some work. 2014-01-14 22:40:02 -08:00
Ben Vanik
6129e1eb7a Simplifying macros to fix VS' broken preprocessor. 2014-01-12 14:06:00 -08:00
Ben Vanik
27a8e09b51 Depth stencil state. 2014-01-10 01:25:50 -08:00
Ben Vanik
7969349126 Fixing some shutdown code. 2014-01-02 18:58:44 -08:00
Ben Vanik
5bc74313e3 Fixing broken instruction offsets on block splits. 2013-12-27 15:00:34 -08:00
Ben Vanik
c17122e022 Using raw addresses for gpu writeback. 2013-12-15 15:32:06 -08:00
Ben Vanik
fdb6a5cfa3 Initial Alloy implementation.
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00
Ben Vanik
68b8737a58 SETXXv, CNDXXv, SETXXs - may not be right. 2013-11-17 15:20:50 -08:00
Ben Vanik
1f4795e7d4 Fixing shader file names. 2013-11-17 15:20:28 -08:00
Ben Vanik
9441fb8b7a Finally figured out MUL/ADD/SUB_CONST_* 2013-11-16 18:27:17 -08:00
Ben Vanik
1592cf96f7 MAX4v, MINs, MAXs 2013-11-16 16:59:33 -08:00
Ben Vanik
798cad6f87 DOT2ADDv 2013-11-16 16:15:23 -08:00
Ben Vanik
8398ea4925 I lied, MULADD was not that way. 2013-11-16 05:16:11 -08:00
Ben Vanik
60f48bdd32 Always write oPos. 2013-11-16 04:39:26 -08:00
Ben Vanik
7491058ffd Adding --dump_shaders=path/. 2013-11-16 04:39:16 -08:00
Ben Vanik
8440c9059a Fixing order of MULADDv. 2013-11-16 04:35:08 -08:00
Ben Vanik
271abbf874 Adding --trace_ring_buffer. 2013-11-16 03:06:55 -08:00
gibbed
faa67028ce Mystery GPU registers. 2013-10-27 18:44:20 -07:00
Ben Vanik
2de906f3d6 Hacking around with shaders. Pretty sure this is all wrong. 2013-10-27 18:33:50 -07:00
Ben Vanik
0355047838 PM4_LOAD_ALU_CONSTANT 2013-10-27 16:18:54 -07:00
Ben Vanik
b7ffd46319 Massive refactoring of all code + audio skeleton.
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00
Ben Vanik
d065ee43e8 PM4_SET_CONSTANT for registers. 2013-10-22 21:32:04 -07:00