Fix python example for API change

This commit is contained in:
baldurk
2021-11-24 14:08:52 +00:00
parent c8c3cc35fc
commit 62babcb497
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(pipe, ps.resourceId, entry, 0, cb.resourceId, 0, 0)
cbufferVars = controller.GetCBufferVariableContents(pipe, ps.resourceId, rd.ShaderStage.Pixel, entry, 0, cb.resourceId, 0, 0)
for v in cbufferVars:
printVar(v)