zink: remove needless shader-info from context
There's no longer any code reading this, so let's get rid of it. It always rubbed me a bit the wrong way, because this repeated some information already present in the context. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10371>
This commit is contained in:
parent
74f9f3937a
commit
30eca96a86
|
@ -76,8 +76,6 @@ struct ntv_context {
|
|||
bool block_started;
|
||||
SpvId loop_break, loop_cont;
|
||||
|
||||
struct shader_info *info;
|
||||
|
||||
SpvId front_face_var, instance_id_var, vertex_id_var,
|
||||
primitive_id_var, invocation_id_var, // geometry
|
||||
sample_mask_type, sample_id_var, sample_pos_var, sample_mask_in_var,
|
||||
|
@ -3604,8 +3602,6 @@ nir_to_spirv(struct nir_shader *s, const struct zink_so_info *so_info, bool spir
|
|||
default: ;
|
||||
}
|
||||
|
||||
ctx.info = &s->info;
|
||||
|
||||
if (s->info.stage < MESA_SHADER_GEOMETRY) {
|
||||
if (s->info.outputs_written & BITFIELD64_BIT(VARYING_SLOT_LAYER) ||
|
||||
s->info.inputs_read & BITFIELD64_BIT(VARYING_SLOT_LAYER)) {
|
||||
|
|
Loading…
Reference in New Issue