diff --git a/renderdoc/driver/d3d12/d3d12_shader_feedback.cpp b/renderdoc/driver/d3d12/d3d12_shader_feedback.cpp index e8ad6a694..00153479f 100644 --- a/renderdoc/driver/d3d12/d3d12_shader_feedback.cpp +++ b/renderdoc/driver/d3d12/d3d12_shader_feedback.cpp @@ -260,13 +260,10 @@ static bool AnnotateDXILShader(const DXBC::DXBCContainer *dxbc, uint32_t space, funcTypeTmp.members = {i32, resBindType, i32, i1}; funcType = editor.AddType(funcTypeTmp); } - DXIL::Type funcPtrType; - funcPtrType.type = DXIL::Type::Pointer; - funcPtrType.inner = funcType; DXIL::Function createHandleBaseFunction; createHandleBaseFunction.name = "dx.op.createHandleFromBinding"; - createHandleBaseFunction.funcType = editor.AddType(funcPtrType); + createHandleBaseFunction.funcType = funcType; createHandleBaseFunction.external = true; for(const DXIL::AttributeSet &attrs : editor.GetAttributeSets())