Don't overwrite idx variable with loop iterator

This commit is contained in:
baldurk
2020-07-21 12:42:09 +01:00
parent 56f1b8c4e8
commit b540f631ab
+3 -3
View File
@@ -141,9 +141,9 @@ class Iter_Test(rdtest.TestCase):
debugged = value.value.fv[0:value.columns]
# For now, ignore debugged values that are uninitialised. This is an application bug but it causes false reports of problems
for idx in range(4):
if value.value.uv[idx] == 0xcccccccc:
debugged[idx] = expect[idx]
for comp in range(4):
if value.value.uv[comp] == 0xcccccccc:
debugged[comp] = expect[comp]
# Unfortunately we can't ever trust that we should get back a matching results, because some shaders
# rely on undefined/inaccurate maths that we don't emulate.