We weren't initializing the VCM bits in the !gs path, but v33 doesn't have
GS so we can just mark it unreachable.
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2952>
vpm_cfg.Ve = 0;
vpm_cfg.Vc = v3d->prog.vs->prog_data.vs->vcm_cache_size;
}
-#if V3D_VERSION >= 41
else {
+#if V3D_VERSION >= 41
v3d_emit_gs_state_record(v3d->job,
v3d->prog.gs_bin, gs_bin_uniforms,
v3d->prog.gs, gs_uniforms);
vpm_cfg.gs_width,
vpm_cfg.Gd,
vpm_cfg.Gv);
- }
+#else
+ unreachable("No GS support pre-4.1");
#endif
+ }
cl_emit(&job->indirect, GL_SHADER_STATE_RECORD, shader) {
shader.enable_clipping = true;