Commit Graph

56 Commits

Author SHA1 Message Date
Ben Vanik
529a1478d8 Sampler state caching. 2014-05-31 16:34:05 -07:00
Ben Vanik
6607606b15 Moving texture code into shared/separate files. Leaking a lot. 2014-05-31 15:42:21 -07:00
Ben Vanik
c06526e5df Backpatch function addresses. 2014-05-28 20:02:40 -07:00
Ben Vanik
c1812406f5 Adding a bunch of profiling tracers. 2014-05-28 19:19:39 -07:00
Ben Vanik
ee69696485 Hiding some D3D11 log spew. 2014-02-06 22:18:44 -08:00
gibbed
93d61d02d7 Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only. 2014-01-25 06:15:02 -08:00
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
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
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
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
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
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
c257ad0122 Work on D3D11 for various state settings. This code sucks. Needs a rewrite. 2014-01-18 01:50:31 -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
27a8e09b51 Depth stencil state. 2014-01-10 01:25:50 -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
39adeef2e3 Hiding vertex/index data for now. 2013-10-20 01:59:42 -07:00
Ben Vanik
92899739bd Index buffer upload. 2013-10-20 00:47:32 -07:00
Ben Vanik
5a80c7b9c1 Hacking shaders to get dummy texture colors and such. 2013-10-20 00:20:36 -07:00
Ben Vanik
889e586cab Skeleton for new draw type and texture fetching. 2013-10-19 21:49:25 -07:00
Ben Vanik
96a857e892 Massively disgusting and incomplete shader translator. 2013-10-12 22:14:23 -07:00