File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
29
#include < llvm/IR/Module.h>
30
30
#include < llvm/IR/IRBuilder.h>
31
31
#include " common/LLVMWarningsPop.hpp"
32
+ #include " Probe.h"
32
33
33
34
namespace IGC
34
35
{
@@ -61,7 +62,7 @@ namespace IGC
61
62
62
63
inline llvm::Type* GetResourceDimensionType (llvm::Module& module , RESOURCE_DIMENSION_TYPE resourceDimTypeId)
63
64
{
64
- assert ((resourceDimTypeId == DIM_TYPED_BUFFER_TYPE ||
65
+ IGC_ASSERT ((resourceDimTypeId == DIM_TYPED_BUFFER_TYPE ||
65
66
resourceDimTypeId == DIM_1D_TYPE || resourceDimTypeId == DIM_1D_ARRAY_TYPE ||
66
67
resourceDimTypeId == DIM_2D_TYPE || resourceDimTypeId == DIM_2D_ARRAY_TYPE ||
67
68
resourceDimTypeId == DIM_3D_TYPE || resourceDimTypeId == DIM_CUBE_TYPE || resourceDimTypeId == DIM_CUBE_ARRAY_TYPE));
You can’t perform that action at this time.
0 commit comments