Home
last modified time | relevance | path

Searched refs:consumer_var (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_varyings.c974 nir_variable *consumer_var; member
1295 nir_variable *producer_var, nir_variable *consumer_var) in varying_matches_record() argument
1297 assert(producer_var != NULL || consumer_var != NULL); in varying_matches_record()
1301 (consumer_var && in varying_matches_record()
1302 (consumer_var->data.explicit_location || consumer_var->data.location != -1))) { in varying_matches_record()
1311 (consumer_var == NULL || consumer_var->data.location == -1)); in varying_matches_record()
1313 bool needs_flat_qualifier = consumer_var == NULL && in varying_matches_record()
1338 if (consumer_var) { in varying_matches_record()
1339 consumer_var->data.centroid = false; in varying_matches_record()
1340 consumer_var->data.sample = false; in varying_matches_record()
[all …]
/third_party/mesa3d/src/mesa/main/
Dshader_query.cpp1938 gl_shader_variable const *const consumer_var = RESOURCE_VAR(res); in validate_io() local
1941 if (is_gl_identifier(consumer_var->name.string)) in validate_io()
1947 if (consumer_var->explicit_location) { in validate_io()
1952 consumer_var->location == var->location) { in validate_io()
1963 strcmp(consumer_var->name.string, var->name.string) == 0) { in validate_io()
2008 const glsl_type *consumer_type = consumer_var->type; in validate_io()
2009 const glsl_type *consumer_interface_type = consumer_var->interface_type; in validate_io()
2016 if (consumer_interface_type->is_array() && !consumer_var->patch) in validate_io()
2019 if (consumer_type->is_array() && !consumer_var->patch) in validate_io()
2076 unsigned consumer_interpolation = consumer_var->interpolation; in validate_io()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c1335 nir_variable *consumer_var = nir_find_variable_with_location(consumer, in nir_link_varying_precision() local
1339 if (!consumer_var) in nir_link_varying_precision()
1344 unsigned precision_2 = consumer_var->data.precision; in nir_link_varying_precision()
1348 producer_var->data.precision = consumer_var->data.precision = minimum; in nir_link_varying_precision()