[Feature Request] SPIR-V aggressive optimization

Open
#9,151 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp

Research direction

The issue links optimization commits in DirectXShaderCompiler and SPIRV-Tools. Read those commits and identify the SPIR-V compilation performance changes they make; the author says this work is ongoing and may still be unreliable. The issue gives no specific change or completion criterion, so first define a measurable performance goal and validation approach.

Written by the indexing model from the issue text.

Description

enhancement needs-triage

I have done some optimization at:

https://github.com/LuisaGroup/DirectXShaderCompiler/commit/c4adf384036e61a9ac6a4dfb41edf267120455d2

and SPIRV-Tools:

https://github.com/LuisaGroup/SPIRV-Tools/commit/f35e38d3f52849c09c62a3f4d8dca3ee316ccbe9

Because of it is basically developed by coding agent (although with well tested), but may still unreliable. I will continue working on this as a human in real working environment, to bring better spirv compile performance.

Dominant language
C++
Stars
3.7k
Forks
926
Avg merge
3d 22h
Merged PRs (30d)
45

Getting set up

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.

More from microsoft/DirectXShaderCompiler

All issues in microsoft/DirectXShaderCompiler

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.