Pass PSO when decoding cbuffer variables in python example

This commit is contained in:
baldurk
2019-09-18 13:04:50 +01:00
parent 702c7cf093
commit ba16bd9bfe
2 changed files with 2 additions and 2 deletions
@@ -50,7 +50,7 @@ def sampleCode(controller):
print("Pixel shader:")
print(controller.DisassembleShader(pipe, ps, target))
cbufferVars = controller.GetCBufferVariableContents(ps.resourceId, entry, 0, cb.resourceId, 0)
cbufferVars = controller.GetCBufferVariableContents(pipe, ps.resourceId, entry, 0, cb.resourceId, 0)
for v in cbufferVars:
printVar(v)