[SPIR-V] required execution mode for FragStencilRefEXT is missing

オープン
#9,038 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
compilers

調査の方向性

Start with the TODO at tools/clang/test/CodeGenSPIRV/semantic.stencil-ref.ps.hlsl line 7, which marks the missing check. Then find where the SPIR-V emitter under tools/clang/lib/SPIRV adds execution modes for pixel shaders and see how FragStencilRefEXT is handled there. Done means the emitted module includes the StencilRefReplacingEXT execution mode and the test checks for it.

索引モデルが issue の本文から書いたものです。

説明

bug needs-triage spirv

Description
https://registry.khronos.org/VulkanSC/specs/1.0-extensions/man/html/FragStencilRefEXT.html
FragStencilRefEXT is used but the required execution mode StencilRefReplacingEXT is missing.

See this TODO
tools/clang/test/CodeGenSPIRV/semantic.stencil-ref.ps.hlsl#L7

Steps to Reproduce
https://godbolt.org/z/baq5GGW65

Actual Behavior
Missing required StencilRefReplacingEXT execution mode

Environment
N/A

主要言語
C++
スター
3.7k
フォーク
926
平均マージ
3日 22時間
マージ済み PR(30日)
45

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/DirectXShaderCompiler のほかの issue

microsoft/DirectXShaderCompiler の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。