Home
last modified time | relevance | path

Searched refs:sampler_type (Results 1 – 25 of 72) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderTextureImageSamplesTests.cpp226 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()
Dgl4cShaderTextureImageSamplesTests.hpp72 void executeFunctionalTest(const _sampler_type& sampler_type, const _test_type& test_type);
Dgl4cTextureViewTests.hpp128 static const char* getGLSLDataTypeForSamplerType(const TextureView::_sampler_type sampler_type,
131 static const char* getGLSLTypeForSamplerType(const TextureView::_sampler_type sampler_type);
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.c111 LLVMTypeRef sampler_type; in create_jit_sampler_type() local
120 sampler_type = LLVMStructTypeInContext(lc, elem_types, in create_jit_sampler_type()
124 gallivm->target, sampler_type, in create_jit_sampler_type()
127 gallivm->target, sampler_type, in create_jit_sampler_type()
130 gallivm->target, sampler_type, in create_jit_sampler_type()
133 gallivm->target, sampler_type, in create_jit_sampler_type()
136 gallivm->target, sampler_type, in create_jit_sampler_type()
139 gallivm->target, sampler_type); in create_jit_sampler_type()
140 return sampler_type; in create_jit_sampler_type()
192 LLVMTypeRef viewport_type, texture_type, sampler_type, image_type; in lp_jit_create_types() local
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp257 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 …]
DesextcTextureCubeMapArraySampling.cpp1766 samplerType sampler_type) in checkUniformAndResourceApi() argument
1809 switch (sampler_type) in checkUniformAndResourceApi()
1937 void TextureCubeMapArraySamplingTest::getAttributes(samplerType sampler_type, in getAttributes() argument
1945 switch (sampler_type) in getAttributes()
2020 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType() argument
2025 switch (sampler_type) in getColorType()
2075 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType() argument
2082 …getColorType(sampler_type, out_color_type, out_interpolation_type, out_sampler_type, out_n_compone… in getColorType()
2085 switch (sampler_type) in getColorType()
2115 void TextureCubeMapArraySamplingTest::getPassThroughFragmentShaderCode(samplerType sampler_type, in getPassThroughFragmentShaderCode() argument
[all …]
/third_party/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp745 const glsl_type *sampler_type = NULL; in load_texture() local
751 sampler_type = glsl_type::sampler1DShadow_type; in load_texture()
753 sampler_type = glsl_type::sampler1D_type; in load_texture()
758 sampler_type = glsl_type::sampler1DArrayShadow_type; in load_texture()
760 sampler_type = glsl_type::sampler1DArray_type; in load_texture()
765 sampler_type = glsl_type::sampler2DShadow_type; in load_texture()
767 sampler_type = glsl_type::sampler2D_type; in load_texture()
772 sampler_type = glsl_type::sampler2DArrayShadow_type; in load_texture()
774 sampler_type = glsl_type::sampler2DArray_type; in load_texture()
779 sampler_type = glsl_type::sampler2DRectShadow_type; in load_texture()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_sampler_type_test.cc24 auto t = p->sampler_type(); in TEST_F()
33 auto t = p->sampler_type(); in TEST_F()
45 auto t = p->sampler_type(); in TEST_F()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c97 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader() local
99 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_copy_fragment_shader()
115 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader()
145 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader_depth() local
147 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_copy_fragment_shader_depth()
163 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader_depth()
193 const struct glsl_type *sampler_type = in build_nir_copy_fragment_shader_stencil() local
195 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_copy_fragment_shader_stencil()
211 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_copy_fragment_shader_stencil()
Dradv_meta_fmask_copy.c29 …const struct glsl_type *sampler_type = glsl_sampler_type(GLSL_SAMPLER_DIM_MS, false, false, GLSL_T… in build_fmask_copy_compute_shader() local
38 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_fmask_copy_compute_shader()
Dradv_meta_resolve_fs.c38 const struct glsl_type *sampler_type = in build_resolve_fragment_shader() local
44 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_resolve_fragment_shader()
256 const struct glsl_type *sampler_type = in build_depth_stencil_resolve_fragment_shader() local
263 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_depth_stencil_resolve_fragment_shader()
Dradv_meta_resolve_cs.c65 const struct glsl_type *sampler_type = in build_resolve_compute_shader() local
73 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_resolve_compute_shader()
135 const struct glsl_type *sampler_type = in build_depth_stencil_resolve_compute_shader() local
145 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_depth_stencil_resolve_compute_shader()
Dradv_meta_blit2d.c436 const struct glsl_type *sampler_type = glsl_sampler_type(dim, false, false, GLSL_TYPE_UINT); in build_nir_texel_fetch() local
437 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_texel_fetch()
486 const struct glsl_type *sampler_type = in build_nir_buffer_fetch() local
488 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_buffer_fetch()
/third_party/vk-gl-cts/external/openglcts/modules/gles32/
Des32cCopyImageTests.cpp74 bool verify(glw::GLuint texture_name, glw::GLuint sampler_type);
181 bool IntegerTexTest::verify(glw::GLuint texture_name, glw::GLuint sampler_type) in verify() argument
205 specialization_map["SAMPLER"] = (sampler_type == GL_INT) ? "isampler2D" : "usampler2D"; in verify()
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_uniform_type_table.py128 for sampler_type, tex_type in texture_types.items():
129 if uniform_type.endswith(sampler_type):
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c216 LLVMTypeRef sampler_type; in create_jit_sampler_type() local
226 sampler_type = LLVMStructTypeInContext(gallivm->context, elem_types, in create_jit_sampler_type()
231 target, sampler_type, in create_jit_sampler_type()
234 target, sampler_type, in create_jit_sampler_type()
237 target, sampler_type, in create_jit_sampler_type()
240 target, sampler_type, in create_jit_sampler_type()
243 target, sampler_type, in create_jit_sampler_type()
246 LP_CHECK_STRUCT_SIZE(struct draw_jit_sampler, target, sampler_type); in create_jit_sampler_type()
248 return sampler_type; in create_jit_sampler_type()
313 LLVMTypeRef sampler_type = create_jit_sampler_type(gallivm, "sampler"); in create_jit_context_type() local
[all …]
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.c119 validate_sampler_type(enum mali_texture_op op, enum mali_sampler_type sampler_type) in validate_sampler_type() argument
122 assert(sampler_type == 0); in validate_sampler_type()
124 assert(sampler_type > 0); in validate_sampler_type()
1716 validate_sampler_type(texture->op, texture->sampler_type); in print_texture_word()
1747 fprintf(fp, ".%c%d", texture->sampler_type == MALI_SAMPLER_FLOAT ? 'f' : 'i', in print_texture_word()
1752 if (texture->sampler_type == MALI_SAMPLER_FLOAT) in print_texture_word()
1773 fprintf(fp, "%csampler", sampler_type_name(texture->sampler_type)); in print_texture_word()
Dmidgard_derivatives.c115 .sampler_type = MALI_SAMPLER_FLOAT, in midgard_emit_derivatives()
Dmidgard.h920 enum mali_sampler_type sampler_type : 2; member
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h71 ubyte sampler_type[PIPE_MAX_SHADER_SAMPLER_VIEWS]; /**< TGSI_RETURN_TYPE_x */ member
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c353 const struct glsl_type *sampler_type = in compile_setupinst() local
356 tex_var = nir_variable_create(t->b->shader, nir_var_uniform, sampler_type, "tex"); in compile_setupinst()
/third_party/skia/third_party/externals/tint/src/
DBUILD.gn409 "sem/sampler_type.h",
579 "sem/sampler_type.cc",
580 "sem/sampler_type.h",
/third_party/skia/third_party/externals/tint/src/inspector/
Dtest_inspector_builder.h378 const ast::Sampler* sampler_type() { in sampler_type() function
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1749 const struct glsl_type *sampler_type = in get_texel_buffer_copy_fs() local
1752 nir_variable_create(b.shader, nir_var_uniform, sampler_type, "texel_buf"); in get_texel_buffer_copy_fs()
3097 const struct glsl_type *sampler_type = in build_nir_tex_op_read() local
3100 nir_variable_create(b->shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_tex_op_read()
3115 tex->is_array = glsl_sampler_type_is_array(sampler_type); in build_nir_tex_op_read()
3159 const struct glsl_type *sampler_type = in build_nir_tex_op_ms_resolve() local
3162 nir_variable_create(b->shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_tex_op_ms_resolve()
3195 const struct glsl_type *sampler_type = in build_nir_tex_op_ms_read() local
3198 nir_variable_create(b->shader, nir_var_uniform, sampler_type, "s_tex"); in build_nir_tex_op_ms_read()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c336 BYTE sampler_type; member
2159 d3dstt_to_tgsi_tex(BYTE sampler_type) in d3dstt_to_tgsi_tex() argument
2161 switch (sampler_type) { in d3dstt_to_tgsi_tex()
2172 d3dstt_to_tgsi_tex_shadow(BYTE sampler_type) in d3dstt_to_tgsi_tex_shadow() argument
2174 switch (sampler_type) { in d3dstt_to_tgsi_tex_shadow()
2198 sm1_sampler_type_name(BYTE sampler_type) in sm1_sampler_type_name() argument
2200 switch (sampler_type) { in sm1_sampler_type_name()
2256 DUMP(" %s\n", sm1_sampler_type_name(sem.sampler_type)); in DECL_SPECIAL()
2271 d3dstt_to_tgsi_tex_shadow(sem.sampler_type) : in DECL_SPECIAL()
2272 d3dstt_to_tgsi_tex(sem.sampler_type); in DECL_SPECIAL()
[all …]

123