tests: native_fixed_mesh57_waterfall_fine_hardware fails on main (mip 1 colour read where mip 0 is expected) #3491
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3491
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Leyukaka on GitHub · 2026-11-29 17:31 UTC · original
native_fixed_mesh57_waterfall_fine_hardwarefails on main atc4b8a41bon one hardware adapter.native_fixed_mesh57_waterfall_fine_warppasses on the same build.c4b8a41bsources. Not remeasured at26df1826;CMakeLists.txtandtests/startup_indirect_draw_indexed.cppare unchanged between the two.The test is registered at
CMakeLists.txt:1961-1963withX2W_TEST_NATIVE_MESH57_WATERFALL=1andX2W_TEST_NATIVE_MESH57_FINE_LOD=1.In
tests/startup_indirect_draw_indexed.cpp, the textures at slots 32 and 36 are 2x2 with two mips: mip 0 is cleared to blue, mip 1 to red (slot 32) or green (slot 36), and the views cover both mips. WithFINE_LODthe pixel shader uses constant coordinates and the test expects mip 0 on every pixel (0xffff0000). Without it, the test expects mip 1:0xff0000ffon even x,0xff00ff00on odd x.The value read at (0,0),
0xff0000ff, is the mip 1 colour of slot 32.Hypothesis: on this adapter the fine variant still samples mip 1, as the non-fine variant does.
I'm looking into this.