mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
glsl: Delete hack for VS system values.
This makes no sense. If the stage being considered is the vertex shader, then we'll add inputs and system values appropriately. If we're not considering the vertex shader, then we absolutely should not do anything with it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
This commit is contained in:
parent
47daf17da0
commit
6e8b9d5bdd
1 changed files with 0 additions and 4 deletions
|
|
@ -3541,10 +3541,6 @@ add_interface_variables(struct gl_shader_program *shProg,
|
|||
var->data.location != SYSTEM_VALUE_VERTEX_ID_ZERO_BASE &&
|
||||
var->data.location != SYSTEM_VALUE_INSTANCE_ID)
|
||||
continue;
|
||||
/* Mark special built-in inputs referenced by the vertex stage so
|
||||
* that they are considered active by the shader queries.
|
||||
*/
|
||||
stages = (1 << (MESA_SHADER_VERTEX));
|
||||
/* FALLTHROUGH */
|
||||
case ir_var_shader_in:
|
||||
if (programInterface != GL_PROGRAM_INPUT)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue