-
db72aeb7
by Connor McAdams at 2024-08-08T21:53:13+02:00
d3dx9/tests: Add tests for D3DXLoadSurfaceFromMemory() with a multisampled surface.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
aad72aee
by Connor McAdams at 2024-08-08T21:53:13+02:00
d3dx9: Return success in D3DXLoadSurfaceFromMemory() for multisampled destination surfaces.
Tests show that nothing is written to multisampled destination surfaces,
so just return success early.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
78f2fae8
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Return failure from D3DXLoadSurfaceFromMemory() if d3dx_load_pixels_from_pixels() fails.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
739097b6
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9/tests: Add d3dx filter argument value tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
128f5a8d
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Introduce helper function for retrieving the mip filter value in texture from file functions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
08210536
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Further validate filter argument passed to D3DXFilterTexture().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
c9d28171
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Validate filter argument in D3DXLoadVolumeFrom{Volume,FileInMemory,Memory}().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
f60c0212
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Validate filter argument in D3DXLoadSurfaceFrom{Surface,FileInMemory,Memory}().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
-
a7995fd8
by Connor McAdams at 2024-08-08T21:53:16+02:00
d3dx9: Validate filter argument in texture from file functions.
This used to be handled by the calls to
D3DXLoad{Surface,Volume}FromMemory(), but now it needs to be
handled inside of the texture from file functions themselves.
Fixes: 1215ee024148952525317cc104ce91e650f21ca3
Fixes: c9e6f6f84f661bdd190f4475296a7ce1d3885516
Fixes: f023fd35cefe6d46849a4a9336905410b4991ac4
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>