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

Aperta
#9,038 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
compilers

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
3.7k
Fork
926
Merge medio
3g 22h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/DirectXShaderCompiler

Tutte le issue di microsoft/DirectXShaderCompiler

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.