Fix fetch_shader example for latest API changes

This commit is contained in:
baldurk
2020-03-05 13:40:57 +00:00
parent 4e4ef40612
commit 98af55d513
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)
cbufferVars = controller.GetCBufferVariableContents(pipe, ps.resourceId, entry, 0, cb.resourceId, 0, 0)
for v in cbufferVars:
printVar(v)