mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Fix tests referring to SigParameter.compType
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user