mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
vc4: Don't recompile the CS when the FS changes.
The compiled_fs_id is a proxy for the vc4->prog.fs->input_slots[], but only the VS dereferences it. Drops 754 shaders from shader-db.
This commit is contained in:
parent
d577dbc201
commit
62ea2461ed
1 changed files with 2 additions and 0 deletions
|
|
@ -2476,6 +2476,8 @@ vc4_update_compiled_vs(struct vc4_context *vc4, uint8_t prim_mode)
|
|||
}
|
||||
|
||||
key->is_coord = true;
|
||||
/* Coord shaders don't care what the FS inputs are. */
|
||||
key->compiled_fs_id = 0;
|
||||
struct vc4_compiled_shader *cs =
|
||||
vc4_get_compiled_shader(vc4, QSTAGE_COORD, &key->base);
|
||||
if (cs != vc4->prog.cs) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue