Skip to content

Commit

Permalink
Fix to validation layer param checker for extensions (#262)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil R. Spruit <[email protected]>
  • Loading branch information
nrspruit authored Jan 17, 2025
1 parent 3969f34 commit dcf3385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace validation_layer
base->stype < ZE_STRUCTURE_TYPE_RELAXED_ALLOCATION_LIMITS_EXP_DESC) ||
(base->stype > ZE_STRUCTURE_TYPE_MEMORY_SUB_ALLOCATIONS_EXP_PROPERTIES &&
base->stype < ZE_STRUCTURE_TYPE_MUTABLE_COMMAND_LIST_EXP_PROPERTIES) ||
base->stype > ZE_STRUCTURE_TYPE_MUTABLE_GLOBAL_OFFSET_EXP_DESC)
base->stype > ZE_STRUCTURE_TYPE_INIT_DRIVER_TYPE_DESC)
return ZE_RESULT_ERROR_INVALID_ARGUMENT;
base = reinterpret_cast<const ze_base_properties_t*>(base->pNext);
}
Expand Down

0 comments on commit dcf3385

Please sign in to comment.