Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
bool uses_vertexid;
bool uses_instanceid;
bool uses_basevertex;
+ bool uses_firstvertex;
bool uses_baseinstance;
bool uses_drawid;
};
BITFIELD64_BIT(SYSTEM_VALUE_BASE_VERTEX))
prog_data->uses_basevertex = true;
+ if (shader->info.system_values_read &
+ BITFIELD64_BIT(SYSTEM_VALUE_FIRST_VERTEX))
+ prog_data->uses_firstvertex = true;
+
if (shader->info.system_values_read &
BITFIELD64_BIT(SYSTEM_VALUE_BASE_INSTANCE))
prog_data->uses_baseinstance = true;