In the past we used this boolean for several things, it is really
superfluous right now.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9403>
case nir_intrinsic_load_push_constant:
lower_load_push_constant(b, instr, pipeline);
- pipeline->use_push_constants = true;
return true;
case nir_intrinsic_vulkan_resource_index:
/* If the pipeline should emit any of the stencil configuration packets */
bool emit_stencil_cfg[2];
- /* If the pipeline is using push constants */
- bool use_push_constants;
-
/* Blend state */
struct {
/* Per-RT bit mask with blend enables */
break;
case QUNIFORM_UNIFORM:
- assert(pipeline->use_push_constants);
cl_aligned_u32(&uniforms, cmd_buffer->push_constants_data[data]);
break;