mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
glsl: make varying_matches::is_varying_packing_safe() const
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
d86c9836d5
commit
a0430bb62c
1 changed files with 2 additions and 2 deletions
|
|
@ -1475,7 +1475,7 @@ public:
|
|||
|
||||
private:
|
||||
bool is_varying_packing_safe(const glsl_type *type,
|
||||
const ir_variable *var);
|
||||
const ir_variable *var) const;
|
||||
|
||||
/**
|
||||
* If true, this driver disables varying packing, so all varyings need to
|
||||
|
|
@ -1608,7 +1608,7 @@ varying_matches::~varying_matches()
|
|||
*/
|
||||
bool
|
||||
varying_matches::is_varying_packing_safe(const glsl_type *type,
|
||||
const ir_variable *var)
|
||||
const ir_variable *var) const
|
||||
{
|
||||
if (consumer_stage == MESA_SHADER_TESS_EVAL ||
|
||||
consumer_stage == MESA_SHADER_TESS_CTRL ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue