draw: don't crash if GS doesn't emit anything
[mesa.git] / src / gallium / auxiliary / vl / vl_decoder.h
index 0e9280dbfa20bb84e7ea68837974d77ac21d1c12..8fa6527ce5493dd42ddb4eeb98c2cc50456180d8 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef vl_decoder_h
 #define vl_decoder_h
 
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_video_decoder.h"
 
 /**
  * check if a given profile is supported with shader based decoding
@@ -45,6 +45,7 @@ vl_create_decoder(struct pipe_context *pipe,
                   enum pipe_video_profile profile,
                   enum pipe_video_entrypoint entrypoint,
                   enum pipe_video_chroma_format chroma_format,
-                  unsigned width, unsigned height);
+                  unsigned width, unsigned height, unsigned max_references,
+                  bool expect_chunked_decode);
 
 #endif /* vl_decoder_h */