Linux demos compile fix

This commit is contained in:
baldurk
2020-09-16 17:02:45 +01:00
parent 6a3b29cb14
commit a3b6adc303
2 changed files with 2 additions and 2 deletions
@@ -84,7 +84,7 @@ void main()
)EOSHADER";
const static uint32_t numDescriptorSetsInLayout = 100 * 1024;
const uint32_t numDescriptorSetsInLayout = 100 * 1024;
void Prepare(int argc, char **argv)
{
+1 -1
View File
@@ -19,7 +19,7 @@ class D3D11_PrimitiveID(rdtest.TestCase):
primInput = self.find_input_source_var(trace, rd.ShaderBuiltin.PrimitiveIndex)
if primInput is None:
# If we didn't find it, then we should be expecting a 0
if len(expected_prim) > 1 or expected_prim[0] is not 0:
if len(expected_prim) > 1 or expected_prim[0] != 0:
rdtest.log.error("Expected prim {} at {},{} did not match actual prim {}.".format(
str(expected_prim), x, y, prim))
return False