mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Linux demos compile fix
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user