diff options
| author | Dea7hsmiles <188018312+dea7hsmiless@users.noreply.github.com> | 2026-11-21 20:25:55 -0800 |
|---|---|---|
| committer | Dea7hsmiles <188018312+dea7hsmiless@users.noreply.github.com> | 2026-11-22 07:27:16 -0800 |
| commit | 352b9af158a2b01ad7593e64f98ef88bd5c790e5 (patch) | |
| tree | 9e7bb19174721b0b1c7c83037cbf26bf79cfdda0 /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
d3d12: map the six narrow signed IA vertex formats
vertex_format() mapped the unsigned and float variants of R16, R8G8 and R8 but not R16_SNORM, R16_SINT, R8G8_SNORM, R8G8_SINT, R8_SNORM or R8_SINT, so a PSO whose input layout used one was refused with E_INVALIDARG. Add the six rows and cover them in d3d12_draw_test: the SNORM formats use the float VS, the SINT formats an integer-input VS declared ivec4. The test fails on the old table at line 157 (format 58) and passes with the rows, with no validation messages on an RTX 3070.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions