/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderTextureImageSamplesTests.cpp | 226 void ShaderTextureImageSamplesTestBase::executeFunctionalTest(const _sampler_type& sampler_type, in executeFunctionalTest() argument 268 switch (sampler_type) in executeFunctionalTest() 331 switch (sampler_type) in executeFunctionalTest() 433 if (sampler_type == SAMPLER_TYPE_ISAMPLER2DMS || sampler_type == SAMPLER_TYPE_ISAMPLER2DMSARRAY) in executeFunctionalTest() 437 else if (sampler_type == SAMPLER_TYPE_SAMPLER2DMS || sampler_type == SAMPLER_TYPE_SAMPLER2DMSARRAY) in executeFunctionalTest() 446 if (sampler_type == SAMPLER_TYPE_ISAMPLER2DMS || sampler_type == SAMPLER_TYPE_SAMPLER2DMS || in executeFunctionalTest() 447 sampler_type == SAMPLER_TYPE_USAMPLER2DMS) in executeFunctionalTest() 629 _sampler_type sampler_type = (_sampler_type)n_sampler_type; in iterate() local 637 executeFunctionalTest(sampler_type, test_type); in iterate()
|
D | gl4cShaderTextureImageSamplesTests.hpp | 72 void executeFunctionalTest(const _sampler_type& sampler_type, const _test_type& test_type);
|
D | gl4cTextureViewTests.hpp | 128 static const char* getGLSLDataTypeForSamplerType(const TextureView::_sampler_type sampler_type, 131 static const char* getGLSLTypeForSamplerType(const TextureView::_sampler_type sampler_type);
|
D | gl4cMultiBindTests.cpp | 3821 const GLchar* sampler_type = 0; in iterate() local 3827 sampler_type = samplers[i]; in iterate() 3833 sampler_type = samplers[2]; /* usampler2D */ in iterate() 3845 replaceToken("SAMPLER", sam_position, sampler_type, cs_source); in iterate()
|
D | gl4cTextureViewTests.cpp | 1072 const char* TextureViewUtilities::getGLSLDataTypeForSamplerType(const _sampler_type sampler_type, in getGLSLDataTypeForSamplerType() argument 1077 switch (sampler_type) in getGLSLDataTypeForSamplerType() 1175 const char* TextureViewUtilities::getGLSLTypeForSamplerType(const _sampler_type sampler_type) in getGLSLTypeForSamplerType() argument 1179 switch (sampler_type) in getGLSLTypeForSamplerType()
|
D | gl4cShadingLanguage420PackTests.cpp | 10080 const GLchar* sampler_type = Utils::getSamplerType(m_test_case); in prepareShaderSource() local 10148 Utils::replaceAllTokens("TYPE", sampler_type, out_source.m_parts[0].m_code); in prepareShaderSource()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.c | 49 LLVMTypeRef viewport_type, texture_type, sampler_type; in lp_jit_create_types() local 129 sampler_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_types() 133 gallivm->target, sampler_type, in lp_jit_create_types() 136 gallivm->target, sampler_type, in lp_jit_create_types() 139 gallivm->target, sampler_type, in lp_jit_create_types() 142 gallivm->target, sampler_type, in lp_jit_create_types() 145 gallivm->target, sampler_type); in lp_jit_create_types() 165 elem_types[LP_JIT_CTX_SAMPLERS] = LLVMArrayType(sampler_type, in lp_jit_create_types()
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySampling.hpp | 257 samplerType sampler_type, const glw::GLchar* name); 261 glw::GLenum dst_type, samplerType sampler_type, const glw::GLchar* name); 578 samplerType sampler_type); 586 …static void getAttributes(samplerType sampler_type, const attributeDefinition*& out_attribute_defi… 592 void getColorType(samplerType sampler_type, const glw::GLchar*& out_color_type, 596 void getColorType(samplerType sampler_type, const glw::GLchar*& out_color_type, 601 …void getPassThroughFragmentShaderCode(samplerType sampler_type, std::string& out_fragment_shader_c… 603 void getPassThroughTesselationControlShaderCode(const samplerType& sampler_type, 607 void getPassThroughTesselationEvaluationShaderCode(samplerType sampler_type, 610 …void getPassThroughVertexShaderCode(const samplerType& sampler_type, const samplingFunction& sampl… [all …]
|
D | esextcTextureCubeMapArraySampling.cpp | 1771 samplerType sampler_type) in checkUniformAndResourceApi() argument 1814 switch (sampler_type) in checkUniformAndResourceApi() 1942 void TextureCubeMapArraySamplingTest::getAttributes(samplerType sampler_type, in getAttributes() argument 1950 switch (sampler_type) in getAttributes() 2025 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType() argument 2030 switch (sampler_type) in getColorType() 2080 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType() argument 2087 …getColorType(sampler_type, out_color_type, out_interpolation_type, out_sampler_type, out_n_compone… in getColorType() 2090 switch (sampler_type) in getColorType() 2120 void TextureCubeMapArraySamplingTest::getPassThroughFragmentShaderCode(samplerType sampler_type, in getPassThroughFragmentShaderCode() argument [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 18 static inline GrSLType sampler_type(const GrGLTexture::IDDesc& idDesc, GrPixelConfig config, in sampler_type() function 46 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 18 static inline GrSLType sampler_type(const GrGLTexture::IDDesc& idDesc, GrPixelConfig config, in sampler_type() function 55 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 64 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture() 73 , INHERITED(gpu, desc, sampler_type(idDesc, desc.fConfig, gpu), in GrGLTexture()
|
/external/mesa3d/src/mesa/main/ |
D | ff_fragment_shader.cpp | 910 const glsl_type *sampler_type = NULL; in load_texture() local 916 sampler_type = glsl_type::sampler1DShadow_type; in load_texture() 918 sampler_type = glsl_type::sampler1D_type; in load_texture() 923 sampler_type = glsl_type::sampler1DArrayShadow_type; in load_texture() 925 sampler_type = glsl_type::sampler1DArray_type; in load_texture() 930 sampler_type = glsl_type::sampler2DShadow_type; in load_texture() 932 sampler_type = glsl_type::sampler2D_type; in load_texture() 937 sampler_type = glsl_type::sampler2DArrayShadow_type; in load_texture() 939 sampler_type = glsl_type::sampler2DArray_type; in load_texture() 944 sampler_type = glsl_type::sampler2DRectShadow_type; in load_texture() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 180 LLVMTypeRef sampler_type; in create_jit_sampler_type() local 189 sampler_type = LLVMStructTypeInContext(gallivm->context, elem_types, in create_jit_sampler_type() 194 target, sampler_type, in create_jit_sampler_type() 197 target, sampler_type, in create_jit_sampler_type() 200 target, sampler_type, in create_jit_sampler_type() 203 target, sampler_type, in create_jit_sampler_type() 206 LP_CHECK_STRUCT_SIZE(struct draw_jit_sampler, target, sampler_type); in create_jit_sampler_type() 208 return sampler_type; in create_jit_sampler_type() 217 LLVMTypeRef texture_type, LLVMTypeRef sampler_type, in create_jit_context_type() argument 235 elem_types[5] = LLVMArrayType(sampler_type, in create_jit_context_type() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_blit.c | 87 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader() local 91 sampler_type, "s_tex"); in build_nir_copy_fragment_shader() 101 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader() 141 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader_depth() local 145 sampler_type, "s_tex"); in build_nir_copy_fragment_shader_depth() 155 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader_depth() 195 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader_stencil() local 199 sampler_type, "s_tex"); in build_nir_copy_fragment_shader_stencil() 209 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader_stencil()
|
D | radv_meta_blit2d.c | 474 const struct glsl_type *sampler_type = in build_nir_texel_fetch() local 477 sampler_type, "s_tex"); in build_nir_texel_fetch() 505 const struct glsl_type *sampler_type = in build_nir_buffer_fetch() local 508 sampler_type, "s_tex"); in build_nir_buffer_fetch()
|
D | radv_meta_resolve_cs.c | 40 const struct glsl_type *sampler_type = glsl_sampler_type(GLSL_SAMPLER_DIM_MS, in build_resolve_compute_shader() local 56 sampler_type, "s_tex"); in build_resolve_compute_shader()
|
D | radv_meta_bufimage.c | 36 const struct glsl_type *sampler_type = glsl_sampler_type(GLSL_SAMPLER_DIM_2D, in build_nir_itob_compute_shader() local 50 sampler_type, "s_tex"); in build_nir_itob_compute_shader()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_scan.h | 72 ubyte sampler_type[PIPE_MAX_SHADER_SAMPLER_VIEWS]; /**< TGSI_RETURN_TYPE_x */ member
|
D | tgsi_scan.c | 618 info->sampler_type[reg] = type; in scan_declaration() 622 assert(info->sampler_type[reg] == type); in scan_declaration()
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 785 const glsl_type *sampler_type, 791 const glsl_type *sampler_type, 4586 has_lod(const glsl_type *sampler_type) in UNOP() 4588 assert(sampler_type->is_sampler()); in UNOP() 4590 switch (sampler_type->sampler_dimensionality) { in UNOP() 4603 const glsl_type *sampler_type) in _textureSize() argument 4605 ir_variable *s = in_var(sampler_type, "sampler"); in _textureSize() 4612 if (has_lod(sampler_type)) { in _textureSize() 4626 builtin_builder::_textureSamples(const glsl_type *sampler_type) in _textureSamples() argument 4628 ir_variable *s = in_var(sampler_type, "sampler"); in _textureSamples() [all …]
|
/external/mesa3d/src/compiler/ |
D | nir_types.cpp | 340 return glsl_type::sampler_type; in glsl_bare_sampler_type()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 2037 const glsl_type *sampler_type = ir->sampler->type; in visit() local 2071 assert(!sampler_type->sampler_array); in visit() 2099 if (sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && in visit() 2100 sampler_type->sampler_array) { in visit() 2128 switch (sampler_type->sampler_dimensionality) { in visit() 2130 inst->tex_target = (sampler_type->sampler_array) in visit() 2134 inst->tex_target = (sampler_type->sampler_array) in visit()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 341 BYTE sampler_type; member 2049 d3dstt_to_tgsi_tex(BYTE sampler_type) in d3dstt_to_tgsi_tex() argument 2051 switch (sampler_type) { in d3dstt_to_tgsi_tex() 2062 d3dstt_to_tgsi_tex_shadow(BYTE sampler_type) in d3dstt_to_tgsi_tex_shadow() argument 2064 switch (sampler_type) { in d3dstt_to_tgsi_tex_shadow() 2087 sm1_sampler_type_name(BYTE sampler_type) in sm1_sampler_type_name() argument 2089 switch (sampler_type) { in sm1_sampler_type_name() 2145 DUMP(" %s\n", sm1_sampler_type_name(sem.sampler_type)); in DECL_SPECIAL() 2160 d3dstt_to_tgsi_tex_shadow(sem.sampler_type) : in DECL_SPECIAL() 2161 d3dstt_to_tgsi_tex(sem.sampler_type); in DECL_SPECIAL() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 3953 const glsl_type *sampler_type = ir->sampler->type; in visit() local 3960 if ((sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE && in visit() 3961 sampler_type->sampler_array)) { in visit() 4001 sampler_type == glsl_type::samplerCubeShadow_type) { in visit() 4120 assert(!sampler_type->sampler_array); in visit() 4155 if ((sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && in visit() 4156 sampler_type->sampler_array) || in visit() 4157 sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE) { in visit() 4233 switch (sampler_type->sampler_dimensionality) { in visit() 4235 inst->tex_target = (sampler_type->sampler_array) in visit() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 5008 if (info->sampler_type[sampler] == TGSI_RETURN_TYPE_SINT || in build_tex_intrinsic() 5009 info->sampler_type[sampler] == TGSI_RETURN_TYPE_UINT) { in build_tex_intrinsic()
|