mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Update feedback code to not use ptr-to-function type
* The previous PR that added this code existed before ptr-to-function was stripped down to just function for function types, so this change brings it in line.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user