Commit Graph

1148 Commits

Author SHA1 Message Date
Ben Vanik
8337820500 Fiddling with interrupt triggering - still not right. 2014-06-08 11:59:57 -07:00
Ben Vanik
daa8a24173 Caching states. 2014-06-08 11:51:53 -07:00
Ben Vanik
6514eaa780 Disabling paged resource caching for now, as it's broken. 2014-06-08 11:25:10 -07:00
Ben Vanik
295910c3d8 Initial refactoring of gpu/.
Runs too fast - now there are ringbuffer wrapping issues.
2014-06-08 11:23:55 -07:00
Ben Vanik
4072640a64 Skeleton of new shared GPU files. 2014-06-02 19:24:33 -07:00
Ben Vanik
0e3854555d Pure dynamic MMIO access. Prep for more complex GPU memory management. 2014-06-01 23:36:18 -07:00
Ben Vanik
3a8065b7b1 Vertex buffer caching.
Doesn't help, though, as buffers are weird. Need to rethink all of this.
2014-06-01 09:42:07 -07:00
Ben Vanik
2d173ea62b Caching index buffers. 2014-05-31 22:26:39 -07:00
Ben Vanik
19c48c7a90 Partial texture cache - doesn't invalidate yet. 2014-05-31 17:38:32 -07:00
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
e45fc3dc56 Reducing profiling forced swap frequency. 2014-05-31 08:13:13 -07:00
Ben Vanik
6c92e6a5c5 Increasing microprofile stack size, as some of these trees are deep. 2014-05-30 11:44:24 -07:00
Ben Vanik
0267efa5cc Always swapping the graphics system so that we see the profiler update. 2014-05-30 06:50:07 -07:00
Ben Vanik
997f582d1f Removing useless counters. 2014-05-28 20:32:50 -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
beb9bd11f0 Microprofile integration. 2014-05-28 13:59:43 -07:00
Ben Vanik
ee69696485 Hiding some D3D11 log spew. 2014-02-06 22:18:44 -08:00
Ben Vanik
b1ab2fb0a7 That was a terrible idea. Let us never speak of it again. 2014-02-01 00:41:36 -08:00
Ben Vanik
10c9537836 Swapping register values. 2014-02-01 00:05:21 -08:00
gibbed
93d61d02d7 Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only. 2014-01-25 06:15:02 -08:00
gibbed
b6c831c7ec Wait for graphics driver to complete initialization before continuing. 2014-01-24 23:00:05 -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
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