Home
last modified time | relevance | path

Searched refs:is_sampler (Results 1 - 22 of 22) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_samplers.c37 bool is_sampler = src->src_type == nir_tex_src_sampler_deref; in lower_tex_src_to_offset() local
103 src->src_type = is_sampler ? in lower_tex_src_to_offset()
110 if (is_sampler) { in lower_tex_src_to_offset()
/third_party/mesa3d/src/mesa/main/
H A Duniform_query.cpp354 if ((uni->type->is_sampler() || uni->type->is_image()) && in _mesa_get_uniform()
401 (uni->type->is_sampler() || uni->type->is_image())) || in _mesa_get_uniform()
1036 if (storage->type->without_array()->is_sampler()) { in associate_uniform_storage()
1222 if (uni->type->is_sampler()) { in validate_uniform()
1264 if (!uni->type->is_sampler()) in _mesa_flush_vertices_for_uniforms()
1293 (uni->type->is_sampler() || uni->type->is_image());
1518 if (!ctx_flushed && !(uni->type->is_sampler() && uni->is_bindless))
1524 if (uni->type->is_sampler()) {
1873 assert(!uni->type->is_sampler());
2112 if (uni->type->is_sampler()) {
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A Dgen_uniform_type_table.py104 type_info_data_template = """{{{type}, {component_type}, {texture_type}, {transposed_type}, {bool_type}, {sampler_format}, {rows}, {columns}, {components}, {component_size}, {internal_size}, {external_size}, {is_sampler}, {is_matrix}, {is_image} }}"""
241 is_sampler=get_is_sampler(uniform_type),
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c859 get_bare_image_type(struct ntv_context *ctx, struct nir_variable *var, bool is_sampler) in get_bare_image_type() argument
867 } else if (!is_sampler && !var->data.image.format) { in get_bare_image_type()
876 if (is_sampler) in get_bare_image_type()
882 if (is_sampler) in get_bare_image_type()
896 is_ms, is_sampler ? 1 : 2, in get_bare_image_type()
901 get_image_type(struct ntv_context *ctx, struct nir_variable *var, bool is_sampler) in get_image_type() argument
903 SpvId image_type = get_bare_image_type(ctx, var, is_sampler); in get_image_type()
904 return is_sampler ? spirv_builder_type_sampled_image(&ctx->builder, image_type) : image_type; in get_image_type()
914 bool is_sampler = glsl_type_is_sampler(type); in emit_image() local
915 SpvId image_type = get_bare_image_type(ctx, var, is_sampler); in emit_image()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dast_array_index.cpp308 if (array->type->without_array()->is_sampler()) { in _mesa_ast_array_index_to_hir()
H A Dopt_tree_grafting.cpp382 if (lhs_var->type->is_sampler() || lhs_var->type->is_image()) in tree_grafting_basic_block()
H A Dast_to_hir.cpp1903 if (!(state->has_bindless() && (type->is_image() || type->is_sampler()))) { in do_hir()
2506 const unsigned offset = type->is_sampler() ? 0 : 4; in get_type_name_for_precision_qualifier()
2512 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2543 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2550 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2564 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2577 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2605 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2612 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
2632 assert(type->is_sampler()); in get_type_name_for_precision_qualifier()
[all...]
H A Dir_validate.cpp555 assert(ir->type->is_sampler()); in visit_leave()
594 assert(ir->operands[0]->type->is_sampler()); in visit_leave()
H A Dast_function.cpp2100 (state->has_bindless() && (type->is_sampler() || type->is_image())); in is_valid_constructor()
2331 if (ir->type->is_sampler() || ir->type->is_image()) { in hir()
2341 } else if (constructor_type->is_sampler() || in hir()
H A Dlower_precision.cpp478 if (var && var->type->without_array()->is_sampler()) { in handle_call()
H A Dir.cpp1820 assert(sampler->type->is_sampler()); in set_sampler()
H A Dbuiltin_functions.cpp7052 assert(sampler_type->is_sampler()); in has_lod()
/third_party/mesa3d/src/compiler/
H A Dnir_types.cpp371 return type->is_sampler(); in glsl_type_is_sampler()
377 return type->is_sampler() && type->sampled_type == GLSL_TYPE_VOID; in glsl_type_is_bare_sampler()
H A Dglsl_types.h947 bool is_sampler() const in is_sampler() function
H A Dglsl_types.cpp228 return this->is_sampler(); in contains_sampler()
336 assert(t->is_sampler() || t->is_image()); in sampler_index()
2720 if (this->is_image() || this->is_sampler()) { in get_explicit_type_for_size_align()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_tex.cpp122 if (var->type->is_sampler()) { in r600_nir_lower_int_tg4()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_shader.c325 nir_deref_instr *deref, bool is_sampler, in build_bindless()
364 if (is_sampler && bind_layout->type == in build_bindless()
324 build_bindless(struct tu_device *dev, nir_builder *b, nir_deref_instr *deref, bool is_sampler, struct tu_shader *shader, const struct tu_pipeline_layout *layout) build_bindless() argument
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline.c555 bool is_sampler) in pipeline_get_descriptor_map()
573 return is_sampler ? in pipeline_get_descriptor_map()
677 bool is_sampler = src->src_type == nir_tex_src_sampler_deref; in lower_tex_src_to_offset() local
718 src->src_type = is_sampler ? in lower_tex_src_to_offset()
755 b->shader->info.stage, is_sampler); in lower_tex_src_to_offset()
765 if (is_sampler) in lower_tex_src_to_offset()
552 pipeline_get_descriptor_map(struct v3dv_pipeline *pipeline, VkDescriptorType desc_type, gl_shader_stage gl_stage, bool is_sampler) pipeline_get_descriptor_map() argument
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_glsl_to_nir.cpp190 if (!uniform->data.bindless && (type->is_sampler() || type->is_image())) { in st_nir_assign_uniform_locations()
191 if (type->is_sampler()) { in st_nir_assign_uniform_locations()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
H A Dinvocation.cpp431 return !(var->type->is_sampler() ||
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_shader.c2244 boolean is_sampler; in DECL_SPECIAL() local
2250 is_sampler = in DECL_SPECIAL()
2255 if (is_sampler) in DECL_SPECIAL()
2266 if (is_sampler) { in DECL_SPECIAL()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeStateApiTests.cpp1242 ES3F_ADD_API_CASE(is_sampler, "Invalid glIsSampler() usage", in init()

Completed in 59 milliseconds