Fix python example for API change

This commit is contained in:
baldurk committed 2021-11-24 14:08:52 +00:00
1 parent c8c3cc35fc
commit 62babcb497
2 files changed
+2 -2

No files matched your search

@@ -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)