gallium: Add pipe cap for primitive restart with fixed index
[mesa.git] / src / gallium / include / pipe / p_defines.h
index 6354e1365977f3acfcb2c2b5509035c1271489f3..9ec36e4ac7b56da2f51199ed9bbd371935e8b2ee 100644 (file)
@@ -724,6 +724,10 @@ enum pipe_cap
    PIPE_CAP_BLEND_EQUATION_SEPARATE,
    PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS,
    PIPE_CAP_PRIMITIVE_RESTART,
+   /** subset of PRIMITIVE_RESTART where the restart index is always the fixed
+    * maximum value for the index type
+    */
+   PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX,
    /** blend enables and write masks per rendertarget */
    PIPE_CAP_INDEP_BLEND_ENABLE,
    /** different blend funcs per rendertarget */