Skip to content

Commit bfd55bc

Browse files
committed
Fix subgroupArithmetic error
1 parent e9855a5 commit bfd55bc

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)