Add CTS_ARB_gl_spirv test implementation
[platform/upstream/VK-GL-CTS.git] / framework / referencerenderer / rrRenderer.cpp
index 5dd13be..c46227b 100644 (file)
@@ -1509,7 +1509,7 @@ void drawAsPrimitives (const RenderState& state, const RenderTarget& renderTarge
 bool isValidCommand (const DrawCommand& command, int numInstances)
 {
        // numInstances should be valid
-       if (numInstances < 1)
+       if (numInstances < 0)
                return false;
 
        // Shaders should have the same varyings