Skip to content

Commit e72f3d0

Browse files
Merge pull request #719 from Devsh-Graphics-Programming/enum_fixups
Fix subgroupArithmetic error
2 parents f7e0411 + bfd55bc commit e72f3d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/nbl/builtin/hlsl/subgroup/arithmetic_portability.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ namespace subgroup
1919
{
2020

2121
template<class Binop, class device_capabilities=void>
22-
struct reduction : impl::reduction<Binop,device_capabilities_traits<device_capabilities>::subgroupArithmetic> {};
22+
struct reduction : impl::reduction<Binop,device_capabilities_traits<device_capabilities>::shaderSubgroupArithmetic> {};
2323
template<class Binop, class device_capabilities=void>
24-
struct inclusive_scan : impl::inclusive_scan<Binop,device_capabilities_traits<device_capabilities>::subgroupArithmetic> {};
24+
struct inclusive_scan : impl::inclusive_scan<Binop,device_capabilities_traits<device_capabilities>::shaderSubgroupArithmetic> {};
2525
template<class Binop, class device_capabilities=void>
26-
struct exclusive_scan : impl::exclusive_scan<Binop,device_capabilities_traits<device_capabilities>::subgroupArithmetic> {};
26+
struct exclusive_scan : impl::exclusive_scan<Binop,device_capabilities_traits<device_capabilities>::shaderSubgroupArithmetic> {};
2727

2828
}
2929
}

0 commit comments

Comments
 (0)