microsoft / microsoft/DirectXShaderCompiler

[Feature Request] skip hash when compile or validate

Open
#6,863 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
3.7k
Forks
900
Avg merge
2d 11h
Merged PRs (30d)
44

Description

Is your feature request related to a problem? Please describe.
The default behavior for dxc is changed to always hash the output container.
In case someone get affected by this behavior change, need provide a work around.

Describe the solution you'd like
A new validation flag for skip hash when validation.
And a new dxc option for skip hash.

Describe alternatives you've considered
Keep old behavior for internal validation.
This will make dxc get different behavior with/without external validator.

Additional context
This is for tracking discussion in https://github.com/microsoft/DirectXShaderCompiler/pull/6853

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked pull request #6853 and the dxc option and validation paths it discusses. Determine how compile and validation currently trigger output hashing. Done means providing the requested way to skip hashing for validation and through a dxc option, while preserving the intended behavior described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.