diff options
| author | iurysf <98192149+iurysf@users.noreply.github.com> | 2026-11-22 18:05:42 -0300 |
|---|---|---|
| committer | iurysf <98192149+iurysf@users.noreply.github.com> | 2026-11-22 18:05:55 -0300 |
| commit | ceccc784f56dc23f69a06862c8e44c932df9cf30 (patch) | |
| tree | 94c190a9f79f68ba98edfdee70dc3b811df8083a /runtime/test/loader_test.cpp | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
runtime: correct the comment above PipelineState::create_graphics
The comment said hull, domain and geometry stages, and more than one
sample, are refused. The code accepts both: a geometry shader is the
translator's Vulkan geometry stage (it needs the geometryShader feature and
a triangle topology type), and sample counts above one are accepted
(d3d12_geometry and d3d12_msaa_draw cover them).
Say what create_graphics refuses today, each checked against the code:
- hull, domain and stream output: E_NOTIMPL with a log;
- the centre multisample pattern (needs custom sample locations);
- two stages that both read their code base (still refused with
E_NOTIMPL, "two stages read their code base");
- state that needs a Vulkan feature the device lacks.
Comment only, no behaviour change. Claimed in #3381.
Written with AI assistance (Claude, via OpenBot).
Tested on an RTX 4070 (NVIDIA 621.01, Windows 11, MSVC 14.44): the runtime
builds (431 targets) and ctest d3d12_draw, d3d12_msaa_draw, d3d12_geometry,
d3d12_translated_draw, d3d12_compute, d3d12_m4_compute and
d3d12_set0_compute pass 7/7, as on the base f847748c.
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions