Skip to content

[spirv] Update the SPIR-V codegen for HLSL discard.#2895

Merged
ehsannas merged 1 commit intomicrosoft:masterfrom
ehsannas:discard
May 21, 2020
Merged

[spirv] Update the SPIR-V codegen for HLSL discard.#2895
ehsannas merged 1 commit intomicrosoft:masterfrom
ehsannas:discard

Conversation

@ehsannas
Copy link
Copy Markdown
Contributor

Generate OpDemoteToHelperInvocationEXT instruction only if
-fspv-extension=SPV_EXT_demote_to_helper_invocation is specified by
the user.

Fixes #2823.

Generate OpDemoteToHelperInvocationEXT instruction only if
`-fspv-extension=SPV_EXT_demote_to_helper_invocation` is specified by
the user.

Fixes microsoft#2823.
@ehsannas ehsannas added the spirv Work related to SPIR-V label May 20, 2020
@ehsannas ehsannas requested a review from jaebaek May 20, 2020 18:45
@ehsannas ehsannas self-assigned this May 20, 2020
@AppVeyorBot
Copy link
Copy Markdown

@ehsannas ehsannas merged commit 445eca5 into microsoft:master May 21, 2020
@ehsannas ehsannas deleted the discard branch May 21, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spirv Work related to SPIR-V

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[spirv] PR #2773 prevents usage of discard without SPV_EXT_demote_to_helper_invocation

3 participants