Commit graph

35959 commits

Author SHA1 Message Date
fp64
d3be0ee654 Fix tabs vs spaces, tweak comments, error on BE 2023-03-12 08:21:15 -04:00
fp64
67bb17eba3 Add more vfpu_*, move tables to assets 2023-03-12 08:21:15 -04:00
fp64
ee98603fe7 Fix the sign of cos(2*n+1)
Also fix the license text.
2023-03-12 08:21:14 -04:00
fp64
3661bb27ce Implement sin/cos as per #16946 2023-03-12 08:21:13 -04:00
Henrik Rydgård
4b73672b79
Merge pull request #17102 from unknownbrackets/headless
Fix automated test assets access on Windows
2023-03-12 22:30:25 +01:00
Unknown W. Brackets
c127ff47a3 Headless: Load assets from parent dir on Windows.
This is the default debug setting in our MSVC project, so make it easy.
2023-03-12 13:34:41 -07:00
Unknown W. Brackets
7e910b7d65 Headless: Allow @listfile to run multiple.
Just for easy debugging of a long list of tests.
2023-03-12 13:34:10 -07:00
Henrik Rydgård
da17e85b5d
Merge pull request #17101 from unknownbrackets/unittest-avx
unittest: Prevent assert running without AVX
2023-03-12 21:18:29 +01:00
Unknown W. Brackets
5ce48a51c1 unittest: Prevent assert running without AVX.
Running unittests shouldn't require the host to have AVX.
2023-03-12 13:01:08 -07:00
Henrik Rydgård
9eb0e49765
Merge pull request #17097 from hrydgard/d3d9-dds
Texture Replacement: Support compressed textures in D3D9 as well
2023-03-12 18:44:24 +01:00
Henrik Rydgård
b595a1dc4d Prepare LoadLevelData for loading multiple mips. 2023-03-12 16:18:49 +01:00
Henrik Rydgård
aaa83897fe Some code moving, tweaks 2023-03-12 16:18:49 +01:00
Henrik Rydgård
a4b5641f11 Add compressed texture format support checks 2023-03-12 16:18:46 +01:00
Henrik Rydgård
3feaa78c1c
Merge pull request #17098 from lvonasek/feature_openxr_pitch_offset
OpenXR - Enable user to switch between topdown and fps camera
2023-03-12 16:12:46 +01:00
Lubos
983f8176dd OpenXR - Enable user to switch between topdown and fps camera 2023-03-12 14:41:17 +01:00
Henrik Rydgård
c04acaf5c1 Add new translation string 2023-03-12 12:28:02 +01:00
Henrik Rydgård
ddab8fc0db langtool: Update, fix clippy warnings, just because 2023-03-12 12:26:26 +01:00
Henrik Rydgård
25fbfd7a89 Finish up OpenGL compressed texture format checks. Show in dev screen 2023-03-12 12:20:10 +01:00
Henrik Rydgård
b44e879d21 Support DXT1/3/5 (BC1,2,3) in D3D9 2023-03-12 11:37:17 +01:00
Henrik Rydgård
5b711d1ade
Merge pull request #17096 from hrydgard/d3d11-bgra-fix
Change BGRA to be a texture-specific flag. Fixes R/B swap in DDS textures in D3D11.
2023-03-12 11:06:58 +01:00
Henrik Rydgård
f2673c8f7b Change BGRA to be a texture-specific flag. Fixes R/B swap in DDS textures in D3D11. 2023-03-12 10:19:12 +01:00
Henrik Rydgård
d843f51802
Merge pull request #17095 from hrydgard/more-tex-replacement
More tex replacement work
2023-03-12 09:53:37 +01:00
Henrik Rydgård
b687f1bba8 Implement basic block compression support for OpenGL (without feature checks so far) 2023-03-12 00:14:06 +01:00
Henrik Rydgård
7e4dc23bcc Fix BC textures in D3D11 - except that they're red/blue swapped. Ugh. 2023-03-11 23:55:43 +01:00
Henrik Rydgård
95ae2d91f9 Couple of more GL enums 2023-03-11 21:51:39 +01:00
Henrik Rydgård
d95cd73c2c Address a round of feedback 2023-03-11 21:46:01 +01:00
Henrik Rydgård
f32d0c2d69
Merge pull request #17083 from hrydgard/dds-support
DDS texture support in texture replacer
2023-03-11 12:52:45 +01:00
Henrik Rydgård
996b685294 Fix BC7 textures 2023-03-11 12:34:08 +01:00
Henrik Rydgård
a98d2d5ecf Mac buildfix 2023-03-11 11:42:41 +01:00
Henrik Rydgård
6a84d96a3c Add actual support for DDS textures to the replacer. Vulkan only. 2023-03-11 11:34:28 +01:00
Henrik Rydgård
f936a6e9ce Structs and enums and build files 2023-03-11 11:19:33 +01:00
Henrik Rydgård
a651fd8ffd
Merge pull request #17091 from hrydgard/fully-threaded-replacement
Replacement: Do all I/O on threaded tasks
2023-03-11 08:34:14 +01:00
Henrik Rydgård
8e3428438e Replacement: Fix mip level loading. Fix bug if LoadIni gets rerun for some reason. 2023-03-10 23:58:15 +01:00
Henrik Rydgård
3dc2463b55 Simplify, avoid opening file twice (still rewinding!) 2023-03-10 23:36:00 +01:00
Henrik Rydgård
265ae5d0e9 Make the two methods more compatible 2023-03-10 23:28:11 +01:00
Henrik Rydgård
6ece79c3fa Move PopulateLevel and PrepareData next to each other, for later merging 2023-03-10 21:06:33 +01:00
Henrik Rydgård
84c8fee1f2 Interleave calls to Populate / PrepareData 2023-03-10 20:41:43 +01:00
Henrik Rydgård
9b7a1a2ddc Move the "Populate" phase onto the thread 2023-03-10 20:31:37 +01:00
Henrik Rydgård
dad7777b6f Heap-allocate the desc 2023-03-10 20:13:10 +01:00
Henrik Rydgård
c10d420904
Merge pull request #17090 from hrydgard/move-populate-to-replaced-texture
TextureReplacer code cleanup: Move Populate to ReplacedTexture
2023-03-10 18:27:59 +01:00
Henrik Rydgård
ed7947c94b Finish the move of Populate to ReplacedTexture 2023-03-10 17:50:16 +01:00
Henrik Rydgård
9e8e2e41fa Move most of Populate to ReplacedTexture, although not the cpp 2023-03-10 17:43:12 +01:00
Henrik Rydgård
96111537e2 Move PopulateLevel to the texture 2023-03-10 17:26:41 +01:00
Henrik Rydgård
36f78a46c1 Rename PREPARED->POPULATED 2023-03-10 17:21:23 +01:00
Henrik Rydgård
81eed363eb
Merge pull request #17089 from hrydgard/replacer-state-machine
Texture replacer: Replace three flags with a state field in ReplacedTexture
2023-03-10 17:03:33 +01:00
Henrik Rydgård
207e2259e7 Cleanup texture saving a bit 2023-03-10 15:39:45 +01:00
Henrik Rydgård
f459a8f71a Fix ini-less texture replacement 2023-03-10 14:58:44 +01:00
Henrik Rydgård
53791b1816 Restore functionality of the allowVideo flag, while preserving the early-out. 2023-03-10 14:18:42 +01:00
Henrik Rydgård
07fc551e4e State fixes, disable logspam 2023-03-10 14:16:14 +01:00
Henrik Rydgård
9f45271730 Tex replacer state machine instead of flags 2023-03-10 13:43:48 +01:00