From d0385567bf7c626d5f7f84d597e57dce5cdd84b2 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 8 May 2020 10:10:00 +0100 Subject: [PATCH] Fix tests referring to SigParameter.compType --- util/test/rdtest/analyse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/test/rdtest/analyse.py b/util/test/rdtest/analyse.py index 2e80262aa..51f69a755 100644 --- a/util/test/rdtest/analyse.py +++ b/util/test/rdtest/analyse.py @@ -135,9 +135,9 @@ def get_postvs_attrs(controller: rd.ReplayController, mesh: rd.MeshFormat, data_ # Construct a resource format for this element attr.mesh.format = rd.ResourceFormat() - attr.mesh.format.compByteWidth = 8 if sig.compType == rd.CompType.Double else 4 + attr.mesh.format.compByteWidth = 8 if sig.varType == rd.VarType.Double else 4 attr.mesh.format.compCount = sig.compCount - attr.mesh.format.compType = sig.compType + attr.mesh.format.compType = rd.VarTypeCompType(sig.varType) attr.mesh.format.type = rd.ResourceFormatType.Regular attr.name = sig.semanticIdxName if sig.varName == '' else sig.varName