swr/rast: Add debug type info for i128
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 8 Mar 2018 22:19:36 +0000 (16:19 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
Help support debug info in 16 wide shaders.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp

index 0cefa43529fc1b479789f5f971635dd30b01ffd9..bfb1d2e0c8b078db98a616538894d336abe876aa 100644 (file)
@@ -288,6 +288,7 @@ DIType* JitManager::GetDebugIntegerType(Type* pTy)
     case 16: return builder.createBasicType("int16", 16, dwarf::DW_ATE_signed); break;
     case 32: return builder.createBasicType("int", 32, dwarf::DW_ATE_signed); break;
     case 64: return builder.createBasicType("int64", 64, dwarf::DW_ATE_signed); break;
+    case 128: return builder.createBasicType("int128", 128, dwarf::DW_ATE_signed); break;
     default: SWR_ASSERT(false, "Unimplemented integer bit width");
     }
     return nullptr;