mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 13:30:42 +01:00
zink: delete some ntv dead code
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28466>
This commit is contained in:
parent
cefbfe6597
commit
5fd03efda0
1 changed files with 0 additions and 6 deletions
|
|
@ -80,7 +80,6 @@ struct ntv_context {
|
|||
size_t num_defs;
|
||||
|
||||
struct hash_table *vars; /* nir_variable -> SpvId */
|
||||
unsigned outputs[VARYING_SLOT_MAX * 4];
|
||||
|
||||
const SpvId *block_ids;
|
||||
size_t num_blocks;
|
||||
|
|
@ -889,11 +888,6 @@ emit_output(struct ntv_context *ctx, struct nir_variable *var)
|
|||
spirv_builder_emit_location(&ctx->builder, var_id,
|
||||
var->data.driver_location);
|
||||
}
|
||||
/* tcs can't do xfb */
|
||||
if (ctx->stage != MESA_SHADER_TESS_CTRL && var->data.location >= 0) {
|
||||
unsigned idx = var->data.location << 2 | var->data.location_frac;
|
||||
ctx->outputs[idx] = var_id;
|
||||
}
|
||||
emit_interpolation(ctx, var_id, var->data.interpolation);
|
||||
} else {
|
||||
if (var->data.location >= FRAG_RESULT_DATA0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue