nir/vtn: Use return type rather than image type for tex ops
[mesa.git] / src / compiler / glsl / link_varyings.cpp
index 5219294ad7bf90cf7c38dc42b5554e22c6cd0242..7af97cddc0ccd0375c2339bfad0ddf4af383a8b1 100644 (file)
@@ -2095,7 +2095,7 @@ varying_matches::store_locations() const
             const glsl_type *type =
                get_varying_type(producer_var, producer_stage);
             if (type->is_array() || type->is_matrix() || type->is_struct() ||
-                type->is_double()) {
+                type->is_64bit()) {
                unsigned comp_slots = type->component_slots() + offset;
                unsigned slots = comp_slots / 4;
                if (comp_slots % 4)