Home
last modified time | relevance | path

Searched refs:GLSL_SAMPLER_DIM_CUBE (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/compiler/
Dbuiltin_type_macros.h93 …erCube, GL_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLS…
96 …erCubeArray, GL_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLS…
105 …ube, GL_INT_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLS…
108 …ubeArray, GL_INT_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLS…
117 … GL_UNSIGNED_INT_SAMPLER_CUBE, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLS…
120 … GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLS…
129 …Shadow, GL_SAMPLER_CUBE_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 1, 0,…
132 …ArrayShadow, GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_CUBE, 1, 1,…
140 …reCube, GL_SAMPLER_CUBE, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_CUBE, 0, 0, GLS…
143 …reCubeArray, GL_SAMPLER_CUBE_MAP_ARRAY, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_CUBE, 0, 1, GLS…
[all …]
Dglsl_types.cpp345 case GLSL_SAMPLER_DIM_CUBE: in sampler_index()
850 case GLSL_SAMPLER_DIM_CUBE: in get_sampler_instance()
892 case GLSL_SAMPLER_DIM_CUBE: in get_sampler_instance()
922 case GLSL_SAMPLER_DIM_CUBE: in get_sampler_instance()
962 case GLSL_SAMPLER_DIM_CUBE: in get_texture_instance()
996 case GLSL_SAMPLER_DIM_CUBE: in get_texture_instance()
1025 case GLSL_SAMPLER_DIM_CUBE: in get_texture_instance()
1077 case GLSL_SAMPLER_DIM_CUBE: in get_image_instance()
1108 case GLSL_SAMPLER_DIM_CUBE: in get_image_instance()
1137 case GLSL_SAMPLER_DIM_CUBE: in get_image_instance()
[all …]
Dglsl_types.h250 GLSL_SAMPLER_DIM_CUBE, enumerator
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp54 T( samplerCube, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_FLOAT, NONARRAY, COLOR, 3)
57 T( samplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_FLOAT, ARRAY, COLOR, 4)
65 T(isamplerCube, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_INT, NONARRAY, COLOR, 3)
68 T(isamplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_INT, ARRAY, COLOR, 4)
76 T(usamplerCube, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_UINT, NONARRAY, COLOR, 3)
79 T(usamplerCubeArray, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_UINT, ARRAY, COLOR, 4)
87 T(samplerCubeShadow, GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_FLOAT, NONARRAY, SHADOW, 3)
94 GLSL_SAMPLER_DIM_CUBE, GLSL_TYPE_FLOAT, ARRAY, SHADOW, 4)
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h69 case GLSL_SAMPLER_DIM_CUBE: in zink_sampler_type()
90 case GLSL_SAMPLER_DIM_CUBE: in zink_image_type()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_image.c37 assert(nir_intrinsic_image_dim(intrin) == GLSL_SAMPLER_DIM_CUBE); in lower_cube_size()
78 nir_intrinsic_image_dim(intrin) == GLSL_SAMPLER_DIM_CUBE) { in lower_image_instr()
Dnir_normalize_cubemap_coords.c46 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in normalize_cubemap_coords_block()
Dnir_lower_tex.c593 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map()
741 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gradient()
746 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient()
1249 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE && tex->is_array); in nir_lower_txs_cube_array()
1528 tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) || in nir_lower_tex_block()
1568 tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE && tex->is_array) { in nir_lower_tex_block()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c146 instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in handle_tex_src()
372 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex()
374 } else if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex()
448 case GLSL_SAMPLER_DIM_CUBE: { in vir_image_emit_register_writes()
467 if (nir_intrinsic_image_dim(instr) == GLSL_SAMPLER_DIM_CUBE || in vir_image_emit_register_writes()
Dv3d33_tex.c71 case GLSL_SAMPLER_DIM_CUBE: in v3d33_vir_emit_tex()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tex.cpp90 tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) { in r600_nir_lower_int_tg4_impl()
169 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_txl_txf_array_or_cube()
209 (tex->is_array || tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE)) in r600_nir_lower_txl_txf_array_or_cube_impl()
235 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in r600_nir_lower_cube_to_2darray_filer()
Dsfn_nir_legalize_image_load_store.cpp73 case GLSL_SAMPLER_DIM_CUBE: in r600_legalize_image_load_store_impl()
Dsfn_instr_tex.cpp789 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in emit_tex_txs()
800 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in emit_tex_txs()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_cubemaps.c35 if (glsl_get_sampler_dim(type) != GLSL_SAMPLER_DIM_CUBE) in type_needs_lowering()
86 return nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_CUBE; in lower_int_cubmap_to_array_filter()
96 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in lower_int_cubmap_to_array_filter()
481 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_sampler_from_cubemap()
491 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_image_from_cubemap()
Ddxil_enums.c98 case GLSL_SAMPLER_DIM_CUBE: in dxil_get_resource_kind()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c179 ~(BITFIELD_BIT(GLSL_SAMPLER_DIM_CUBE) | BITFIELD_BIT(GLSL_SAMPLER_DIM_BUF)), in si_late_optimize_16bit_samplers()
186 .sampler_dims = ~BITFIELD_BIT(GLSL_SAMPLER_DIM_CUBE), in si_late_optimize_16bit_samplers()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_image.c104 if (dim == GLSL_SAMPLER_DIM_CUBE || nir_intrinsic_image_array(instr)) in ir3_get_image_coords()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dcodegen.c94 if (load->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in ppir_codegen_encode_varying()
118 if (load->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in ppir_codegen_encode_varying()
164 case GLSL_SAMPLER_DIM_CUBE: in ppir_codegen_encode_texld()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c32 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_sampler_from_cubemap()
57 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in lower_cubemap_to_array_filter()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c387 [PIPE_TEXTURE_CUBE] = GLSL_SAMPLER_DIM_CUBE, in st_pbo_sampler_type_for_target()
391 [PIPE_TEXTURE_CUBE_ARRAY] = GLSL_SAMPLER_DIM_CUBE, in st_pbo_sampler_type_for_target()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c489 return GLSL_SAMPLER_DIM_CUBE; in _mesa_texture_index_to_sampler_dim()
492 return GLSL_SAMPLER_DIM_CUBE; in _mesa_texture_index_to_sampler_dim()
/third_party/mesa3d/src/amd/common/
Dac_shader_util.c438 case GLSL_SAMPLER_DIM_CUBE: in ac_get_sampler_dim()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1197 *dim = GLSL_SAMPLER_DIM_CUBE; in get_texture_info()
1200 *dim = GLSL_SAMPLER_DIM_CUBE; in get_texture_info()
1204 *dim = GLSL_SAMPLER_DIM_CUBE; in get_texture_info()
1208 *dim = GLSL_SAMPLER_DIM_CUBE; in get_texture_info()
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c3043 case GLSL_SAMPLER_DIM_CUBE: in bifrost_tex_format()
3070 case GLSL_SAMPLER_DIM_CUBE: in valhall_tex_dimension()
3423 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in bi_emit_texc()
3628 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in bi_emit_tex_valhall()
3773 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in bi_emit_texs()
3812 case GLSL_SAMPLER_DIM_CUBE: in bi_is_simple_tex()
3829 unsigned idx_bits = instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE ? 2 : 3; in bi_is_simple_tex()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c668 assert(nir_intrinsic_image_dim(intrin) != GLSL_SAMPLER_DIM_CUBE); in lower_image_size_instr()

12