Commit Graph

225 Commits

Author SHA1 Message Date
gibbed
764d0b89f5 Fixed fetching of non-tiled textures that don't have a pitch that is a multiple of 256 bytes. 2014-01-24 11:09:38 -08:00
gibbed
3a7aaadbd8 TextureSwap now swaps XE_GPU_ENDIAN_8IN32. 2014-01-24 00:06:10 -08:00
Ben Vanik
dfbbefa97f Asserting byte swapped vbs. 2014-01-23 23:58:23 -08:00
gibbed
61093245a5 Gah. 2014-01-22 09:47:43 -08:00
gibbed
4aeb978d89 FMT_1_5_5_5. 2014-01-22 09:45:57 -08:00
gibbed
4b70b578fd Removed hack from XE_GPU_ENDIAN_8IN16. 2014-01-22 09:45:33 -08:00
gibbed
302111afbf Fixed writing of too much data. 2014-01-21 19:09:07 -08:00
gibbed
1091c171b2 Maybe this will work? 2014-01-21 18:53:35 -08:00
gibbed
a9dfe13799 Further improvements to FetchTexture2D. 2014-01-21 18:19:50 -08:00
Ben Vanik
58db76c42c Pay no attention to the man behind the curtains. 2014-01-21 18:14:36 -08:00
Ben Vanik
1316e79a2f Fixing missing field. 2014-01-21 18:12:18 -08:00
Ben Vanik
7d8aaaaea7 Texture wrapping modes. 2014-01-21 08:31:25 -08:00
gibbed
3a2c2beca4 Not sure if this is correct, seems to work. 2014-01-21 02:36:24 -08:00
gibbed
801758fc2f Oops. 2014-01-21 01:54:54 -08:00
gibbed
01b00118d4 Further improvements to FetchTexture2D. 2014-01-21 01:54:34 -08:00
gibbed
efa7199974 XE_GPU_SWIZZLE_000R. 2014-01-21 01:51:56 -08:00
gibbed
9507960829 Oops. Don't need that. 2014-01-21 00:51:56 -08:00
gibbed
d75f4989a8 - Tiled texture support (largely untested).
- Maybe fixed FMT_8.
- Improved swapping of source texture data.
2014-01-21 00:50:18 -08:00
Ben Vanik
44c15342f5 Swizzling some textures. 2014-01-21 00:31:24 -08:00
Ben Vanik
175e21bea1 Texture filtering (mostly). 2014-01-20 23:45:45 -08:00
Ben Vanik
c660b5e4d1 Making the invalid texture bright green. 2014-01-20 22:38:07 -08:00
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