Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing execution mode for gl_FragDepth in Vulkan #775

Closed
kvark opened this issue Apr 25, 2021 · 1 comment
Closed

Missing execution mode for gl_FragDepth in Vulkan #775

kvark opened this issue Apr 25, 2021 · 1 comment
Labels
area: back-end Outputs of shader conversion kind: bug Something isn't working lang: SPIR-V Binary SPIR-V input and output

Comments

@kvark
Copy link
Member

kvark commented Apr 25, 2021

VALIDATION [UNASSIGNED-CoreValidation-Shader-InconsistentSpirv (0x6bbb14)] : Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x558de1b00730, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: [VUID-FragDepth-FragDepth-04216] Vulkan spec requires DepthReplacing execution mode to be declared when using BuiltIn FragDepth. ID <0> (OpStore) is referencing ID <582> (OpVariable) which is decorated with BuiltIn FragDepth in function <584>.
  OpStore %gl_FragDepth_0 %590

Blocking kvark/vange-rs#134

@kvark kvark added kind: bug Something isn't working lang: SPIR-V Binary SPIR-V input and output area: back-end Outputs of shader conversion labels Apr 25, 2021
@kvark
Copy link
Member Author

kvark commented Apr 25, 2021

Duplicate of #172

@kvark kvark marked this as a duplicate of #172 Apr 25, 2021
@kvark kvark closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: back-end Outputs of shader conversion kind: bug Something isn't working lang: SPIR-V Binary SPIR-V input and output
Projects
None yet
Development

No branches or pull requests

1 participant