File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,8 @@ LIST_BUILTIN_RESOURCE(NBL_RESOURCES_TO_EMBED "hlsl/shapes/rounded_line.hlsl")
277
277
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/shapes/beziers.hlsl" )
278
278
#barycentrics
279
279
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/barycentric/utils.hlsl" )
280
+ #scanning append
281
+ LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/scanning_append.hlsl" )
280
282
#subgroup
281
283
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/subgroup/ballot.hlsl" )
282
284
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/subgroup/basic.hlsl" )
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ macro(LIST_BUILTIN_RESOURCE _BUNDLE_NAME_ _LBR_PATH_)
14
14
endforeach ()
15
15
endif ()
16
16
17
+ list (FIND ${_BUNDLE_NAME_} "${_LBR_PATH_} " _NBL_FOUND_ )
18
+
19
+ if (NOT "${_NBL_FOUND_} " STREQUAL "-1" )
20
+ message (FATAL_ERROR "Duplicated \" ${_LBR_PATH_} \" builtin resource list-request detected to \" ${_BUNDLE_NAME_} \" , remove the entry!" )
21
+ endif ()
22
+
17
23
list (APPEND ${_BUNDLE_NAME_} "${_LBR_PATH_} " )
18
24
set (${_BUNDLE_NAME_} ${${_BUNDLE_NAME_}} ) # override
19
25
You can’t perform that action at this time.
0 commit comments