3 May
2023
3 May
'23
12:15 p.m.
Giovanni Mascellani (@giomasce) commented about tests/sample-level.shader_test:
+[require] +shader model >= 3.0 + +[sampler 0] +filter linear linear linear +address clamp clamp clamp + +[texture 0] +size (2, 2) +levels 2 + +1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 +1.0 0.0 1.0 0.0 1.0 0.0 1.0 0.0 + +0.0 0.0 1.0 0.0 This fails on a Windows 11 VM with WARP with:
shader_runner:1214: Running tests from a Windows cross build
shader_runner:1216: Compiling shaders with d3dcompiler_47.dll and executing with d3d9.dll
shader_runner:95: Driver string: d3d10warp.dll.
shader_runner:96: Device: Microsoft Basic Render Driver, 1414:008c.
shader_runner:99: Using WARP device.
shader_runner:248: Section [texture 0], line 8: Test failed: Failed to map texture, hr 0x8876086c.
and than it segfaults. Not sure what's going on here, but apparently the second (i.e., when mapping the smaller level) `LockRect()` calls fails with `D3DERR_INVALIDCALL`. Did you test this on Windows? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/191#note_31866