Removing DataKind completely from llvm-rs-cc.
BUG=5972398
Change-Id: I76fdb98fa60bd70468d088f9034acf00e443d6c8
diff --git a/slang_rs_export_element.cpp b/slang_rs_export_element.cpp
index 842e92e..c1b9c3c 100644
--- a/slang_rs_export_element.cpp
+++ b/slang_rs_export_element.cpp
@@ -34,10 +34,9 @@
void RSExportElement::Init() {
if (!Initialized) {
// Initialize ElementInfoMap
-#define ENUM_RS_DATA_ELEMENT(_name, _dk, _dt, _norm, _vsize) \
+#define ENUM_RS_DATA_ELEMENT(_name, _dt, _norm, _vsize) \
{ \
ElementInfo *EI = new ElementInfo; \
- EI->kind = RSExportPrimitiveType::DataKind ## _dk; \
EI->type = RSExportPrimitiveType::DataType ## _dt; \
EI->normalized = _norm; \
EI->vsize = _vsize; \
@@ -83,7 +82,6 @@
RSExportPrimitiveType::Create(Context,
T,
TypeName,
- EI->kind,
EI->normalized);
// Verify
slangAssert(EI->type == EPT->getType() && "Element has unexpected type");
@@ -99,7 +97,6 @@
T->getCanonicalTypeInternal()
.getTypePtr()),
TypeName,
- EI->kind,
EI->normalized);
// Verify
slangAssert(EI->type == EVT->getType() && "Element has unexpected type");