-
Notifications
You must be signed in to change notification settings - Fork 808
Open
Labels
bugBug, regression, crashBug, regression, crashhlsl2021Pertaining to HLSL2021 featuresPertaining to HLSL2021 features
Milestone
Description
Here's a godbolt showcasing the problem: https://godbolt.org/z/1j1EPbfos
As you can see in it, the templated operator() fails to resolve correctly when I is Bar<SomeCondition> for the struct Foo<Bar<SomeCondition>>. It works if you provide an explicit, non-templated version where the argument is exactly Bar<SomeCondition>, as you can see by uncommenting the commented method. Also, the problem is explicitly with operators, as the method baz resolves just fine when I is Bar<SomeCondition>. This works as one would expect in CPP: https://godbolt.org/z/efrY14hW8
This issue affects both DXIL and SPIR-V targets
Metadata
Metadata
Assignees
Labels
bugBug, regression, crashBug, regression, crashhlsl2021Pertaining to HLSL2021 featuresPertaining to HLSL2021 features
Type
Projects
Status
Triaged