*/
*urb_entry_read_length = DIV_ROUND_UP(max_source_attr + 1, 2);
}
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_depth_stencil_state)(struct brw_context *brw)
{
},
.emit = genX(upload_depth_stencil_state),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_clip_state)(struct brw_context *brw)
{
},
.emit = genX(upload_clip_state),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_sf)(struct brw_context *brw)
{
},
.emit = genX(upload_sf),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_wm)(struct brw_context *brw)
{
},
.emit = genX(upload_wm),
};
+#endif
/* ---------------------------------------------------------------------- */
pkt.StatisticsEnable = true; \
pkt.Enable = true;
-
+#if GEN_GEN >= 6
static void
genX(upload_vs_state)(struct brw_context *brw)
{
},
.emit = genX(upload_vs_state),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
brw_calculate_guardband_size(const struct gen_device_info *devinfo,
uint32_t fb_width, uint32_t fb_height,
},
.emit = genX(upload_sf_clip_viewport),
};
+#endif
+
+/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_gs_state)(struct brw_context *brw)
{
},
.emit = genX(upload_gs_state),
};
+#endif
/* ---------------------------------------------------------------------- */
#define blend_factor(x) brw_translate_blend_factor(x)
#define blend_eqn(x) brw_translate_blend_equation(x)
+#if GEN_GEN >= 6
static void
genX(upload_blend_state)(struct brw_context *brw)
{
},
.emit = genX(upload_blend_state),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_scissor_state)(struct brw_context *brw)
{
},
.emit = genX(upload_scissor_state),
};
+#endif
+
+/* ---------------------------------------------------------------------- */
#if GEN_GEN >= 7
UNUSED static const uint32_t push_constant_opcodes[] = {
}
#endif
+#if GEN_GEN >= 6
static void
genX(upload_vs_push_constants)(struct brw_context *brw)
{
},
.emit = genX(upload_wm_push_constants),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static unsigned
genX(determine_sample_mask)(struct brw_context *brw)
{
}
}
-/* ---------------------------------------------------------------------- */
-
static void
genX(emit_3dstate_multisample2)(struct brw_context *brw,
unsigned num_samples)
},
.emit = genX(upload_multisample_state)
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 6
static void
genX(upload_color_calc_state)(struct brw_context *brw)
{
},
.emit = genX(upload_sbe),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 7
/**
* Outputs the 3DSTATE_SO_DECL_LIST command.
*
},
.emit = genX(upload_sol),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 7
static void
genX(upload_ps)(struct brw_context *brw)
{
},
.emit = genX(upload_ps),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 7
static void
genX(upload_hs_state)(struct brw_context *brw)
{
},
.emit = genX(upload_raster),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 8
static void
genX(upload_ps_extra)(struct brw_context *brw)
{
},
.emit = genX(upload_ps_extra),
};
+#endif
/* ---------------------------------------------------------------------- */
+#if GEN_GEN >= 8
static void
genX(upload_ps_blend)(struct brw_context *brw)
{