Henrik Rydgård
|
0ed1f3d461
|
Switch multiple bools as parameters to DecodeTextureLevel to a flags enum.
|
2022-09-14 18:40:08 +02:00 |
|
Henrik Rydgård
|
75efcd9dfd
|
Merge pull request #16000 from unknownbrackets/gedebugger
Cleanup some crashes in GE debugger or with large textures
|
2022-09-11 19:41:11 +02:00 |
|
Henrik Rydgård
|
694dbe1271
|
Add ShaderDepalMode enum, use in shader ID. Replaces smoothed bit.
|
2022-09-11 14:40:01 +02:00 |
|
Henrik Rydgård
|
9bd8b11bf8
|
Implement shader depal for D3D11.
|
2022-09-11 13:41:17 +02:00 |
|
Unknown W. Brackets
|
1056301c95
|
D3D11: Prevent crash on larger textures.
|
2022-09-10 20:16:05 -07:00 |
|
Unknown W. Brackets
|
62ed43633c
|
d3d9: Correct decode of 16-bit textures.
Was causing crashes since we assumed this func could handle non-replaced
formats.
|
2022-09-06 07:44:08 -07:00 |
|
Henrik Rydgård
|
2bf0c86ac7
|
Fix image format when dumping textures.
Fixes #15831
|
2022-09-01 15:04:59 +02:00 |
|
Henrik Rydgård
|
08eaf7665c
|
Fix race condition in replacement texture loading
The texture could become valid during the load, causing an inconsistent
state within the texture loading. So can only check for valid-ness once.
|
2022-08-30 12:52:31 +02:00 |
|
Henrik Rydgård
|
6f2966f502
|
Clean up mip size calculations
Calculating the same thing in multiple places is a recipe for bugs, so
let's not.
|
2022-08-30 12:05:57 +02:00 |
|
Henrik Rydgård
|
b529d26f3a
|
Fix smoothed depal on GLES. Don't enable filtering if not using.
|
2022-08-24 13:43:41 +02:00 |
|
Henrik Rydgård
|
5084743bbb
|
Use Draw2D for depal shaders (except the actual blit, for now)
|
2022-08-23 11:21:40 +02:00 |
|
Henrik Rydgård
|
82a6c42e17
|
DepalettizeCommon -> TextureShaderCommon. Simplifications.
|
2022-08-22 12:21:20 +02:00 |
|
Unknown W. Brackets
|
89a499b4d2
|
GLES: Correct preview of mip levels > 0.
Don't need to force level 0 anymore. Software can show levels hardware
refuses to load. This is consistent with other backends.
|
2022-08-21 16:47:46 -07:00 |
|
Henrik Rydgård
|
295f5f391e
|
More consistent handling of lack of depth texture support. Small log improvement.
|
2022-08-20 08:05:53 +02:00 |
|
Henrik Rydgård
|
4e3c258140
|
Delete all the duplicate implementations of ApplyTextureFramebuffer
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
45def772ee
|
Move the depal cache instance ownership to TextureCacheCommon
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
e345a6ba3c
|
Works with D3D11, except the depth texturing case
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
2fa9b0d0c7
|
Simplify
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
8d23c5ecfb
|
Fixy fix
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
da65af832a
|
D3D11 prep
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
08e2d951b4
|
State handling reordering in D3D11 and D3D9 backends.
|
2022-08-05 23:07:01 +02:00 |
|
Henrik Rydgård
|
0262fbc70a
|
Implement 3D textures for D3D11
|
2022-07-31 10:43:48 +02:00 |
|
Henrik Rydgård
|
6a5a232777
|
Unify the GLES LoadTextureLevel with the D3D ones.
|
2022-07-30 19:07:21 +02:00 |
|
Henrik Rydgård
|
c6d7423368
|
Prepare to convert the GLES functions too
|
2022-07-30 18:37:48 +02:00 |
|
Henrik Rydgård
|
dea979433c
|
Share LoadTextureLevel between the two D3D backends.
|
2022-07-30 17:00:34 +02:00 |
|