Skip to content

[HLSL2021] Disable operators that rely on references#4133

Merged
llvm-beanz merged 2 commits intomicrosoft:masterfrom
llvm-beanz:cbieneman/disable-operators
Dec 7, 2021
Merged

[HLSL2021] Disable operators that rely on references#4133
llvm-beanz merged 2 commits intomicrosoft:masterfrom
llvm-beanz:cbieneman/disable-operators

Conversation

@llvm-beanz
Copy link
Copy Markdown
Collaborator

After lots of discussion, we think it is best to disable operators that
should rely on reference parameters or return types for HLSL 2021. The
main driver of this is that we believe that references will get added to
HLSL in the near future, and we'd like to make it easier to maintain
compatability between HLSL 2021 and future versions of HLSL where
references are supported.

@llvm-beanz llvm-beanz added the hlsl2021 Pertaining to HLSL2021 features label Dec 7, 2021
Copy link
Copy Markdown
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

After lots of discussion, we think it is best to disable operators that
should rely on reference parameters or return types for HLSL 2021. The
main driver of this is that we believe that references will get added to
HLSL in the near future, and we'd like to make it easier to maintain
compatability between HLSL 2021 and future versions of HLSL where
references are supported.
@AppVeyorBot
Copy link
Copy Markdown

@llvm-beanz llvm-beanz force-pushed the cbieneman/disable-operators branch from 94fbdf7 to 41d1aaf Compare December 7, 2021 03:51
@llvm-beanz
Copy link
Copy Markdown
Collaborator Author

I realized that I somehow managed to not include the test cases and updates...

@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@llvm-beanz llvm-beanz merged commit ade5e47 into microsoft:master Dec 7, 2021
llvm-beanz added a commit to llvm-beanz/DirectXShaderCompiler that referenced this pull request Dec 7, 2021
* Disable operators that rely on references

After lots of discussion, we think it is best to disable operators that
should rely on reference parameters or return types for HLSL 2021. The
main driver of this is that we believe that references will get added to
HLSL in the near future, and we'd like to make it easier to maintain
compatability between HLSL 2021 and future versions of HLSL where
references are supported.

* Removing assignment operator test case

(cherry picked from commit ade5e47)
llvm-beanz added a commit that referenced this pull request Dec 8, 2021
* Disable operators that rely on references

After lots of discussion, we think it is best to disable operators that
should rely on reference parameters or return types for HLSL 2021. The
main driver of this is that we believe that references will get added to
HLSL in the near future, and we'd like to make it easier to maintain
compatability between HLSL 2021 and future versions of HLSL where
references are supported.

* Removing assignment operator test case

(cherry picked from commit ade5e47)
@llvm-beanz llvm-beanz deleted the cbieneman/disable-operators branch July 19, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hlsl2021 Pertaining to HLSL2021 features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants