Home
last modified time | relevance | path

Searched refs:texture_unit (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h123 unsigned texture_unit; member
230 unsigned texture_unit, LLVMValueRef texture_unit_offset);
237 unsigned texture_unit, LLVMValueRef texture_unit_offset);
244 unsigned texture_unit, LLVMValueRef texture_unit_offset);
251 unsigned texture_unit, LLVMValueRef texture_unit_offset);
258 unsigned texture_unit, LLVMValueRef texture_unit_offset);
265 unsigned texture_unit, LLVMValueRef texture_unit_offset);
272 unsigned texture_unit, LLVMValueRef texture_unit_offset);
279 unsigned texture_unit, LLVMValueRef texture_unit_offset);
286 unsigned texture_unit, LLVMValueRef texture_unit_offset);
[all …]
Dlp_bld_tgsi_info.c161 tex_info->texture_unit = inst->Src[3].Register.Index; in analyse_tex()
169 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_tex()
243 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_sample()
246 if (tex_info->texture_unit != tex_info->sampler_unit) { in analyse_sample()
492 tex_info->texture_unit, in dump_info()
Dlp_bld_sample.c245 unsigned texture_unit, in lp_build_rho() argument
285 bld->context_ptr, texture_unit, NULL); in lp_build_rho()
733 unsigned texture_unit, in lp_build_lod_selector() argument
799 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs); in lp_build_lod_selector()
942 unsigned texture_unit, in lp_build_nearest_mip_level() argument
952 bld->context_ptr, texture_unit, NULL); in lp_build_nearest_mip_level()
954 bld->context_ptr, texture_unit, NULL); in lp_build_nearest_mip_level()
997 unsigned texture_unit, in lp_build_linear_mip_levels() argument
1014 bld->context_ptr, texture_unit, NULL); in lp_build_linear_mip_levels()
1016 bld->context_ptr, texture_unit, NULL); in lp_build_linear_mip_levels()
[all …]
Dlp_bld_sample_soa.c2029 unsigned texture_unit, in lp_build_layer_coord() argument
2038 bld->context_ptr, texture_unit, NULL); in lp_build_layer_coord()
2618 unsigned texture_unit, in lp_build_fetch_texel() argument
2646 lp_build_nearest_mip_level(bld, texture_unit, ilevel, &ilevel, in lp_build_fetch_texel()
2653 bld->context_ptr, texture_unit, NULL); in lp_build_fetch_texel()
2668 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, &out1); in lp_build_fetch_texel()
2672 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, NULL); in lp_build_fetch_texel()
2722 bld->context_ptr, texture_unit, NULL); in lp_build_fetch_texel()
3868 unsigned texture_unit = params->texture_unit; in lp_build_size_query_soa() local
3932 … context_ptr, texture_unit, in lp_build_size_query_soa()
[all …]
Dlp_bld_tgsi.h116 unsigned texture_unit:8; /* Texture unit */ member
Dlp_bld_tgsi_soa.c2282 unsigned texture_unit, sampler_unit; in emit_sample() local
2308 texture_unit = inst->Src[1].Register.Index; in emit_sample()
2316 switch (bld->sv[texture_unit].Resource) { in emit_sample()
2428 params.texture_index = texture_unit; in emit_sample()
2647 params.texture_unit = unit; in emit_size_query()
3685 params.texture_unit = buf; in resq_emit()
Dlp_bld_nir.c1418 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index); in visit_image_size()
1439 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index); in visit_image_samples()
1796 params.texture_unit = instr->texture_index; in visit_txs()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp104 unsigned texture_unit, in swr_texture_member() argument
114 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in swr_texture_member()
141 indices[2] = lp_build_const_int32(gallivm, texture_unit); in swr_texture_member()
152 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name); in swr_texture_member()
172 unsigned texture_unit, \
178 texture_unit, \
332 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in swr_sampler_soa_emit_size_query()
336 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in swr_sampler_soa_emit_size_query()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c105 unsigned texture_unit, in draw_llvm_texture_member() argument
116 debug_assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_texture_member()
123 indices[2] = lp_build_const_int32(gallivm, texture_unit); in draw_llvm_texture_member()
127 …VMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), ""); in draw_llvm_texture_member()
139 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name); in draw_llvm_texture_member()
255 unsigned texture_unit, \
259 texture_unit, texture_unit_offset, \
372 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_sampler_soa_emit_size_query()
375 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in draw_llvm_sampler_soa_emit_size_query()
453 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGES); in draw_llvm_image_soa_emit_size_query()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c113 unsigned texture_unit, in lp_llvm_texture_member() argument
124 assert(texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_texture_member()
131 indices[2] = lp_build_const_int32(gallivm, texture_unit); in lp_llvm_texture_member()
135 …VMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), ""); in lp_llvm_texture_member()
147 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name); in lp_llvm_texture_member()
167 unsigned texture_unit, \
171 texture_unit, texture_unit_offset, \
412 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_sampler_soa_emit_size_query()
415 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in lp_llvm_sampler_soa_emit_size_query()
507 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGES); in lp_llvm_image_soa_emit_size_query()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp367 …void setupSampler(glw::GLuint texture_unit, const glw::GLchar* sampler_name, glw::GLuint program_i…
DesextcTextureCubeMapArraySampling.cpp4997 void TextureCubeMapArraySamplingTest::textureDefinition::setupSampler(glw::GLuint texture_unit, argument
5013 m_gl->activeTexture(GL_TEXTURE0 + texture_unit);
5025 m_gl->uniform1i(sampler_location, texture_unit);
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp6309 …bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GLenum texture_unit);
7203 …:bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GLenum texture_unit) in bindTextureToTargetToSpecificTextureUnit() argument
7209 gl.activeTexture(texture_unit); in bindTextureToTargetToSpecificTextureUnit()