Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
}
+void
+brw_blorp_prog_data_init(struct brw_blorp_prog_data *prog_data)
+{
+ prog_data->first_curbe_grf = 0;
+ prog_data->persample_msaa_dispatch = false;
+}
+
+
void
brw_blorp_params_init(struct brw_blorp_params *params)
{
bool persample_msaa_dispatch;
};
+void brw_blorp_prog_data_init(struct brw_blorp_prog_data *prog_data);
+
struct brw_blorp_params
{
uint32_t x0;
(key->dst_samples == 0));
/* Set up prog_data */
- memset(&prog_data, 0, sizeof(prog_data));
+ brw_blorp_prog_data_init(&prog_data);
prog_data.persample_msaa_dispatch = key->persample_msaa_dispatch;
alloc_regs();
GLuint *program_size)
{
/* Set up prog_data */
- memset(&prog_data, 0, sizeof(prog_data));
+ brw_blorp_prog_data_init(&prog_data);
prog_data.persample_msaa_dispatch = false;
alloc_regs();