Commit Graph

1644 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
gibbed 7b9a804fc0 vsprintf. 2014-01-20 10:15:53 -08:00
gibbed 16918eea07 Disabled source offset tracking by default. 2014-01-20 08:18:49 -08:00
gibbed 5a5a93d62d This seems to work. Perhaps cache in the future? 2014-01-20 07:41:11 -08:00
gibbed 8e5da8d853 Oops. 2014-01-20 07:30:18 -08:00
gibbed 592b1974f2 Corrected stack access in XamUserReadProfileSettings. 2014-01-20 06:08:49 -08:00
gibbed 6d7b25a338 Minor corrections to NtCreateFile, NtQueryDirectory. 2014-01-20 06:08:24 -08:00
gibbed c673d55c1e Corrected XFileXctdCompressionInformation handling. Needs to be further corrected in the future. 2014-01-20 06:05:36 -08:00
gibbed e5e6a2cea6 Corrected X_FILE_INFORMATION_CLASS definition. 2014-01-20 06:01:36 -08:00
Ben Vanik f5eefb138c Geometry shaders now support disabled viewports. 2014-01-20 03:42:05 -08:00
Ben Vanik e5d4cdd66d Fixing XamInputSetState. 2014-01-20 02:36:23 -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
gibbed 8f4950bb6c Corrected overlapped_ptr stack location in XamUserReadProfileSettings. 2014-01-19 10:16:12 -08:00
gibbed e0c652b075 Pretend XMACreateContext succeeded. 2014-01-19 09:47:07 -08:00
gibbed 7e22d3be92 - Renamed SHIM_SET_RETURN macro to SHIM_SET_RETURN_64.
- Added SHIM_SET_RETURN_32 macro, which sign-extends to 64-bit.
- Updated all uses of SHIM_SET_RETURN to the appropriate macro (either SHIM_SET_RETURN_32 or SHIM_SET_RETURN_64).
2014-01-19 07:24:16 -08:00
gibbed 870a59f225 Turns out NtQueryDirectoryFile only returns a single entry at a time. 2014-01-19 06:57:43 -08:00
gibbed c7276454d7 Added file_name argument to QueryDirectory. 2014-01-19 02:05:51 -08:00
Ben Vanik 71de4e77dc Fixing memory leak and zeroing on alloc. 2014-01-19 01:51:57 -08:00
Ben Vanik 268bbf105d QueryDirectory for STFS. 2014-01-19 01:47:06 -08:00
gibbed 7da2ad30b0 absolute_path for XFile and Entry. 2014-01-19 01:28:34 -08:00
Ben Vanik b62134855a XMsgCancelIORequest shim. 2014-01-19 01:08:28 -08:00
Ben Vanik f75517f7f8 Fixing add 32 w/ saturate. 2014-01-19 00:53:22 -08:00
Ben Vanik 0bc49621d4 Properly parsing resource infos and implementing XexGetModuleSection. 2014-01-19 00:53:22 -08:00
gibbed d22b59555e Fixed QueryDirectory for DiscImageFile and STFSContainerFile. 2014-01-19 00:52:17 -08:00
gibbed 124b419b6b Added name() and path() to XFile. 2014-01-19 00:51:08 -08:00
gibbed 8b27354dcb Stubbed handling of root_directory. 2014-01-19 00:24:59 -08:00
gibbed 1277325603 Stubbed QueryDirectory on STFSContainerEntry. 2014-01-19 00:07:48 -08:00
gibbed f306db970d Merge branch 'master' of https://github.com/benvanik/xenia 2014-01-18 23:45:48 -08:00
gibbed 8be076df32 Disabled assert for file name in NtQueryDirectoryFile. 2014-01-18 23:45:32 -08:00
gibbed 67e73cb33d Added support for restart scan argument to NtQueryDirectoryFile. 2014-01-18 23:44:39 -08:00
Ben Vanik 50a692d20f Allowing STFS v2 with a warning. 2014-01-18 23:41:40 -08:00