Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h127 unsigned texture_unit; member
234 unsigned texture_unit, LLVMValueRef texture_unit_offset);
241 unsigned texture_unit, LLVMValueRef texture_unit_offset);
248 unsigned texture_unit, LLVMValueRef texture_unit_offset);
255 unsigned texture_unit, LLVMValueRef texture_unit_offset);
262 unsigned texture_unit, LLVMValueRef texture_unit_offset);
269 unsigned texture_unit, LLVMValueRef texture_unit_offset);
276 unsigned texture_unit, LLVMValueRef texture_unit_offset);
283 unsigned texture_unit, LLVMValueRef texture_unit_offset);
290 unsigned texture_unit, LLVMValueRef texture_unit_offset);
[all …]
Dlp_bld_tgsi_info.c162 tex_info->texture_unit = inst->Src[3].Register.Index; in analyse_tex()
170 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_tex()
244 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_sample()
247 if (tex_info->texture_unit != tex_info->sampler_unit) { in analyse_sample()
494 tex_info->texture_unit, in dump_info()
Dlp_bld_sample.c245 unsigned texture_unit, in lp_build_pmin() argument
268 bld->context_ptr, texture_unit, NULL); in lp_build_pmin()
339 unsigned texture_unit, in lp_build_rho() argument
379 bld->context_ptr, texture_unit, NULL); in lp_build_rho()
831 unsigned texture_unit, in lp_build_lod_selector() argument
900 rho = lp_build_pmin(bld, texture_unit, s, t, max_aniso); in lp_build_lod_selector()
903 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs); in lp_build_lod_selector()
1050 unsigned texture_unit, in lp_build_nearest_mip_level() argument
1060 bld->context_ptr, texture_unit, NULL); in lp_build_nearest_mip_level()
1062 bld->context_ptr, texture_unit, NULL); in lp_build_nearest_mip_level()
[all …]
Dlp_bld_sample_soa.c2041 unsigned texture_unit, in lp_build_layer_coord() argument
2050 bld->context_ptr, texture_unit, NULL); in lp_build_layer_coord()
3097 unsigned texture_unit, in lp_build_fetch_texel() argument
3125 lp_build_nearest_mip_level(bld, texture_unit, ilevel, &ilevel, in lp_build_fetch_texel()
3132 bld->context_ptr, texture_unit, NULL); in lp_build_fetch_texel()
3147 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, &out1); in lp_build_fetch_texel()
3151 z = lp_build_layer_coord(bld, texture_unit, FALSE, z, NULL); in lp_build_fetch_texel()
3201 bld->context_ptr, texture_unit, NULL); in lp_build_fetch_texel()
4364 unsigned texture_unit = params->texture_unit; in lp_build_size_query_soa() local
4421 texture_unit, in lp_build_size_query_soa()
[all …]
Dlp_bld_tgsi.h114 unsigned texture_unit:8; /* Texture unit */ member
Dlp_bld_tgsi_soa.c2287 unsigned texture_unit, sampler_unit; in emit_sample() local
2313 texture_unit = inst->Src[1].Register.Index; in emit_sample()
2321 switch (bld->sv[texture_unit].Resource) { in emit_sample()
2433 params.texture_index = texture_unit; in emit_sample()
2653 params.texture_unit = unit; in emit_size_query()
3692 params.texture_unit = buf; in resq_emit()
Dlp_bld_nir.c1773 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index); in visit_image_size()
1797 params.texture_unit = var->data.binding + (indir_index ? 0 : const_index); in visit_image_samples()
2242 params.texture_unit = instr->texture_index; in visit_txs()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c105 unsigned texture_unit, in draw_llvm_texture_member() argument
116 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, \
373 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in draw_llvm_sampler_soa_emit_size_query()
376 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in draw_llvm_sampler_soa_emit_size_query()
455 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGES); in draw_llvm_image_soa_emit_size_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c115 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()
142 texture_unit), ""); in lp_llvm_texture_member()
152 lp_build_name(res, "context.texture%u.%s", texture_unit, member_name); in lp_llvm_texture_member()
172 unsigned texture_unit, \
176 texture_unit, texture_unit_offset, \
414 assert(params->texture_unit < PIPE_MAX_SHADER_SAMPLER_VIEWS); in lp_llvm_sampler_soa_emit_size_query()
417 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in lp_llvm_sampler_soa_emit_size_query()
515 assert(params->texture_unit < PIPE_MAX_SHADER_IMAGES); in lp_llvm_image_soa_emit_size_query()
[all …]
Dlp_state_fs_analysis.c110 tex->texture_unit != 0 || in match_aero_minification_shader()
355 tex_info->texture_unit = tex->texture_index; in llvmpipe_nir_fn_is_linear_compat()
Dlp_linear.c168 const unsigned tex_unit = tex_info->texture_unit; in lp_fs_linear_run()
/third_party/vk-gl-cts/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.cpp4975 void TextureCubeMapArraySamplingTest::textureDefinition::setupSampler(glw::GLuint texture_unit, argument
4991 m_gl->activeTexture(GL_TEXTURE0 + texture_unit);
5003 m_gl->uniform1i(sampler_location, texture_unit);
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp6314 …bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GLenum texture_unit);
7208 …:bindTextureToTargetToSpecificTextureUnit(GLuint to_id, GLenum texture_target, GLenum texture_unit) in bindTextureToTargetToSpecificTextureUnit() argument
7214 gl.activeTexture(texture_unit); in bindTextureToTargetToSpecificTextureUnit()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst1148 - llvmpipe: add missing tex_info->texture_unit assignment