Translator: delete StageModule::level_reads, which nothing reads
StageInterface::level_reads and StageModule::level_reads stated, per texture slot, the levels of
its bound view the stage's reads reach (LevelReads, SampledLevels, SamplerLevels and the
structural analysis spirv::requirements::level_reads). Nothing reads them:
- the runtime: git grep -nw -e level_reads -e LevelReads -e SampledLevels -e SamplerLevels
-e finite_texels -e highest_lod -e lowest_lod at 401d9d5949 over every crate but the translator
finds one hit, the runtime's translator_fields test, which lists the field as a fact the runtime
does not apply;
- the consumer: the same search at a20576e1fd finds 0 hits.
Under the identity domains, which the runtime ships, the analysis also seeded nothing, since no
variable holds one slot's image there. Rule 4: deleted rather than seeded.
Removed: the two fields, the three public types with their methods, the analysis and its tests,
their codec entries and footprint, their rows in tests/api_signatures.tsv and the api_surface
table, the API guide's "Levels a slot reads" section and HOWTO's mention of it, and the runtime
test's listing. own_pixel's helpers that the analysis shared are private again.
ARTIFACT_FORMAT_VERSION moves to the next number above development's: StageInterface's and
StageModule's encodings lose a field. No translation answer changes, so SEMANTICS_VERSION stays.
Verified on the CPU with no device and on lavapipe (llvmpipe, LLVM 23.1.4), job m3-max-83281 at
the next commit, which holds this one: fmt, the signatures, clippy plain, with --cfg m2v_gpu and
with --cfg m2v_cpu_icd, rustdoc, the private rustdoc, the refusal surface check and the API
reference check passed; the suites 3737 of 3738 passed (24 skipped), the one failure the golden
table, which fails at the base on the same 80 cells (a bless due on development); validation 1337
passed (3 skipped); conformance 1052 passed; the doctests passed.
This commit is contained in:
1 parent
31b2964425
commit
d0fb4f3381
20 files changed
+18
-1154
No files matched your search
-11
@@ -1416,17 +1416,6 @@ exception: on a device without maximal reconvergence its precision notes may add
|
||||
return before the body and SPIR-V reconverges only over all invocations (section 2.2.5; the
|
||||
note's entry in the precision-note catalogue).
|
||||
|
||||
### Levels a slot reads
|
||||
|
||||
Each texture slot of a stage states the levels of its bound view its reads reach, counted from the
|
||||
view's first level (`StageModule::level_reads`, one `LevelReads` a slot): whether some read may
|
||||
reach any level (`any`: a level the function computes, a level-count query used beyond the
|
||||
containment of a constant level, a level-of-detail query, a sample through no sampler or with a
|
||||
minimum level of detail, a storage access, or a use the analysis does not follow), the highest
|
||||
constant level a fetch, size query or gather names (`named`) and the lowest whose texels a fetch
|
||||
or gather reads (`lowest_read`), and its samples by the sampler each reads through (`sampled`, with the highest
|
||||
and the lowest constant level of detail). A sample's level is its sampler's to bound.
|
||||
|
||||
### Indirect command buffers
|
||||
|
||||
An indirect command buffer's commands are records in ordinary buffer storage
|
||||
|
||||
Reference in new issue
Block a user