KhronosGroup / KhronosGroup/SPIRV-Tools

Allow validation to be disabled in spirv-reduce

Open
#2,397 0 comments 0 reactions 0 assignees View on GitHub
component:reducer enhancement
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

spirv-reduce runs the validator after each reduction step. There are use cases where this is not desirable, e.g. if one is actually trying to use the reducer to shrink a SPIR-V module that the validator erroneously rejects.

It would be good to have a --no-validation option to disable validation.

Contributor guide

Open the contributing guide

Research direction

Start by locating the spirv-reduce command-line option handling and the code that runs validation after each reduction step. Add the --no-validation behavior there, then verify that reduction proceeds without validator runs when the option is supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.