[Git][wine/vkd3d][master] 8 commits: tests/shader_runner: Introduce read_literal().
Henri Verbeet pushed to branch master at wine / vkd3d Commits: ee1804f1 by Henri Verbeet at 2026-01-19T12:26:18+01:00 tests/shader_runner: Introduce read_literal(). - - - - - 4c8534cb by Henri Verbeet at 2026-01-19T12:26:18+01:00 tests/shader_runner: Introduce struct uniform_buffer. - - - - - f6f4f52c by Francisco Casas at 2026-01-19T12:42:07+01:00 tests/shader_runner: Implement support for d3dbc integer constants. Direct3D 9 supports supplying integer constants to shaders. These are made are available through the `i` registers, separate from the floating-point constants in the `c` registers. Integer constants are rather uncommon and so far I have only seen fxc generate these entries in the CTAB when a uniform is used to limit the number of iterations in a loop. - - - - - 28ab3d15 by Francisco Casas at 2026-01-19T12:55:36+01:00 tests/hlsl: Test SM3 loops with user-provided integer registers. NOTE: the last test introduced here causes a test failure on the Windows CI: shader_runner.c:1584: loop-sm3.shader_test:175: Test failed: Got {3.45600000e+003, 3.45600000e+003, 3.45600000e+003, 4.00000000e+000}, expected {2.34500000e+003, 2.34500000e+003, 2.34500000e+003, 4.00000000e+000} at (0, 0). This is a bug on WARP (d3d10warp.dll) version 1.0.16.1 used by the CI. This bug doesn't happen on Windows using a modern version like 10.0.19041.2788. So, for now I decided to add `if(!warp)`. - - - - - 1d1075a0 by Francisco Casas at 2026-01-19T12:56:02+01:00 tests/hlsl: Test SM3 loops with shader-defined int registers. - - - - - d65a765e by Francisco Casas at 2026-01-19T13:01:00+01:00 tests/hlsl: Test SM3 loops with gradient instructions. - - - - - 860be4df by Francisco Casas at 2026-01-19T13:04:10+01:00 tests/hlsl: Test SM3 shaders that use the `loop` instruction. - - - - - 47f65a10 by Francisco Casas at 2026-01-19T13:06:14+01:00 tests/hlsl: Add additional SM3 loop tests to discern when user-defined ints are used. - - - - - 10 changed files: - Makefile.am - + tests/hlsl/loop-sm3.shader_test - tests/shader_runner.c - tests/shader_runner.h - tests/shader_runner_d3d11.c - tests/shader_runner_d3d12.c - tests/shader_runner_d3d9.c - tests/shader_runner_gl.c - tests/shader_runner_metal.m - tests/shader_runner_vulkan.c View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/a8640ee531a1a6742f8adbfa3f8f1... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/a8640ee531a1a6742f8adbfa3f8f1... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Henri Verbeet (@hverbeet)