mirror of
https://github.com/xemu-project/nxdk_pgraph_tests.git
synced 2024-11-23 10:09:40 +00:00
Switches to tent tent lod minification.
This commit is contained in:
parent
2a5f13fc45
commit
b5b9f5a065
@ -146,7 +146,7 @@ void TextureFormatDXTTests::TestMipmap(const char *filename,
|
||||
auto &texture_stage = host_.GetTextureStage(0);
|
||||
texture_stage.SetFormat(GetTextureFormatInfo(nv2a_format));
|
||||
texture_stage.SetTextureDimensions(data->width, data->height);
|
||||
texture_stage.SetFilter(0, TextureStage::K_QUINCUNX, TextureStage::MIN_BOX_NEARESTLOD);
|
||||
texture_stage.SetFilter(0, TextureStage::K_QUINCUNX, TextureStage::MIN_TENT_TENT_LOD);
|
||||
|
||||
texture_stage.SetMipMapLevels(10);
|
||||
host_.SetRawTexture(data->data.data(), data->compressed_width, data->compressed_height, data->depth, data->pitch,
|
||||
|
@ -166,7 +166,7 @@ void TextureFormatTests::TestMipMap(const TextureFormatInfo &texture_format) {
|
||||
ASSERT(!update_texture_result && "Failed to set texture");
|
||||
|
||||
auto &texture_stage = host_.GetTextureStage(0);
|
||||
texture_stage.SetFilter(0, TextureStage::K_QUINCUNX, TextureStage::MIN_BOX_NEARESTLOD);
|
||||
texture_stage.SetFilter(0, TextureStage::K_QUINCUNX, TextureStage::MIN_TENT_TENT_LOD);
|
||||
host_.SetupTextureStages();
|
||||
|
||||
host_.PrepareDraw(0xFE202020);
|
||||
|
Loading…
Reference in New Issue
Block a user