Home
last modified time | relevance | path

Searched refs:sampler_id (Results 1 – 25 of 31) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplerParameterIError.cpp168 …extureBorderClampSamplerParameterIErrorTest::VerifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, in VerifyGLGetSamplerParameterIiv() argument
176 gl.getSamplerParameterIiv(sampler_id, pname, &params[0]); in VerifyGLGetSamplerParameterIiv()
184 << "sampler id:" << sampler_id << ", pname:" << getPNameString(pname) in VerifyGLGetSamplerParameterIiv()
201 …xtureBorderClampSamplerParameterIErrorTest::VerifyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, in VerifyGLGetSamplerParameterIuiv() argument
209 gl.getSamplerParameterIuiv(sampler_id, pname, &params[0]); in VerifyGLGetSamplerParameterIuiv()
217 << "sampler id:" << sampler_id << ", pname:" << getPNameString(pname) in VerifyGLGetSamplerParameterIuiv()
230 … TextureBorderClampSamplerParameterIErrorTest::VerifyGLGetCallsForAllPNames(glw::GLuint sampler_id, in VerifyGLGetCallsForAllPNames() argument
236 VerifyGLGetSamplerParameterIiv(sampler_id, m_pnames_list[i].pname, expected_error); in VerifyGLGetCallsForAllPNames()
239 VerifyGLGetSamplerParameterIuiv(sampler_id, m_pnames_list[i].pname, expected_error); in VerifyGLGetCallsForAllPNames()
254 …d TextureBorderClampSamplerParameterIErrorTest::VerifyGLSamplerParameterIiv(glw::GLuint sampler_id, in VerifyGLSamplerParameterIiv() argument
[all …]
DesextcTextureBorderClampSamplerParameterIWithWrongPname.cpp167 …derClampSamplerParameterIWithWrongPnameTest::VerifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, in VerifyGLGetSamplerParameterIiv() argument
175 gl.getSamplerParameterIiv(sampler_id, pname, &params[0]); in VerifyGLGetSamplerParameterIiv()
183 << "sampler id:" << sampler_id << ", pname:" << getPNameString(pname) in VerifyGLGetSamplerParameterIiv()
200 …erClampSamplerParameterIWithWrongPnameTest::VerifyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, in VerifyGLGetSamplerParameterIuiv() argument
208 gl.getSamplerParameterIuiv(sampler_id, pname, &params[0]); in VerifyGLGetSamplerParameterIuiv()
216 << "sampler id:" << sampler_id << ", pname:" << getPNameString(pname) in VerifyGLGetSamplerParameterIuiv()
233 …BorderClampSamplerParameterIWithWrongPnameTest::VerifyGLSamplerParameterIiv(glw::GLuint sampler_id, in VerifyGLSamplerParameterIiv() argument
241 gl.samplerParameterIiv(sampler_id, pname, &params[0]); in VerifyGLSamplerParameterIiv()
249 << "sampler id:" << sampler_id << ", pname:" << getPNameString(pname) in VerifyGLSamplerParameterIiv()
266 …orderClampSamplerParameterIWithWrongPnameTest::VerifyGLSamplerParameterIuiv(glw::GLuint sampler_id, in VerifyGLSamplerParameterIuiv() argument
[all …]
DesextcTextureBorderClampSamplerParameterIError.hpp99 void VerifyGLGetCallsForAllPNames(glw::GLuint sampler_id, glw::GLenum expected_error);
101 …void VerifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expecte…
103 …void VerifyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expect…
105 void VerifyGLSamplerCallsForAllPNames(glw::GLuint sampler_id, glw::GLenum expected_error);
107 void VerifyGLSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLint* params,
110 void VerifyGLSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLuint* params,
DesextcTextureBorderClampSamplerParameterIWithWrongPname.hpp77 …void VerifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expecte…
79 …void VerifyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expect…
81 …void VerifyGLSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_e…
83 …void VerifyGLSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_…
DesextcTextureBorderClampParameterTextureBorderColor.hpp90 bool verifyGLGetSamplerParameterfvResult(glw::GLuint sampler_id, glw::GLenum target,
93 bool verifyGLGetSamplerParameterivResult(glw::GLuint sampler_id, glw::GLenum target,
96 bool verifyGLGetSamplerParameterIivResult(glw::GLuint sampler_id, glw::GLenum target,
99 bool verifyGLGetSamplerParameterIuivResult(glw::GLuint sampler_id, glw::GLenum target,
DesextcTextureBorderClampParameterTextureBorderColor.cpp416 glw::GLuint sampler_id, glw::GLenum target, const glw::GLfloat* expected_data) in verifyGLGetSamplerParameterfvResult() argument
425 gl.getSamplerParameterfv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0]); in verifyGLGetSamplerParameterfvResult()
460 …derClampParameterTextureBorderColor::verifyGLGetSamplerParameterivResult(glw::GLuint sampler_id, in verifyGLGetSamplerParameterivResult() argument
471 gl.getSamplerParameteriv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0]); in verifyGLGetSamplerParameterivResult()
505 glw::GLuint sampler_id, glw::GLenum target, const glw::GLint* expected_data) in verifyGLGetSamplerParameterIivResult() argument
514 gl.getSamplerParameterIiv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0]); in verifyGLGetSamplerParameterIivResult()
547 glw::GLuint sampler_id, glw::GLenum target, const glw::GLuint* expected_data) in verifyGLGetSamplerParameterIuivResult() argument
556 gl.getSamplerParameterIuiv(sampler_id, m_glExtTokens.TEXTURE_BORDER_COLOR, &buffer[0]); in verifyGLGetSamplerParameterIuivResult()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c923 unsigned sampler_id = 0; in clc_spirv_to_dxil() local
995 int_sampler_states[sampler_id].wrap[0] = in clc_spirv_to_dxil()
996 int_sampler_states[sampler_id].wrap[1] = in clc_spirv_to_dxil()
997 int_sampler_states[sampler_id].wrap[2] = wrap_from_cl_addressing(address_mode); in clc_spirv_to_dxil()
998 int_sampler_states[sampler_id].is_nonnormalized_coords = in clc_spirv_to_dxil()
1000 int_sampler_states[sampler_id].is_linear_filtering = in clc_spirv_to_dxil()
1002 metadata->args[i].sampler.sampler_id = var->data.binding = sampler_id++; in clc_spirv_to_dxil()
1035 int_sampler_states[sampler_id].wrap[0] = in clc_spirv_to_dxil()
1036 int_sampler_states[sampler_id].wrap[1] = in clc_spirv_to_dxil()
1037 int_sampler_states[sampler_id].wrap[2] = in clc_spirv_to_dxil()
[all …]
Dclc_compiler.h53 unsigned sampler_id; member
78 unsigned sampler_id; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp107 compiler.get_decoration(combined.sampler_id, spv::DecorationDescriptorSet); in ShaderModule()
109 compiler.get_decoration(combined.sampler_id, spv::DecorationBinding); in ShaderModule()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross.cpp2443 …VariableID sampler_id = param.global_sampler ? param.sampler_id : VariableID(args[param.sampler_id in end_function_scope() local
2446 auto *s = compiler.maybe_get_backing_variable(sampler_id); in end_function_scope()
2450 sampler_id = s->self; in end_function_scope()
2452 register_combined_image_sampler(caller, 0, image_id, sampler_id, param.depth); in end_function_scope()
2461 … VariableID image_id, VariableID sampler_id, in register_combined_image_sampler() argument
2468 0u, image_id, sampler_id, true, true, depth, in register_combined_image_sampler()
2474 … [sampler_id](const SPIRFunction::Parameter &p) { return p.id == sampler_id; }); in register_combined_image_sampler()
2485 param.sampler_id = uint32_t(sampler_itr - begin(caller.arguments)); in register_combined_image_sampler()
2493 return param.image_id == p.image_id && param.sampler_id == p.sampler_id && in register_combined_image_sampler()
2525 compiler.has_decoration(sampler_id, DecorationRelaxedPrecision) || in register_combined_image_sampler()
[all …]
Dspirv_cross.hpp115 VariableID sampler_id; member
852 VariableID sampler_id, bool depth);
Dspirv_cross_c.h121 spvc_variable_id sampler_id; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp327 if (combined.sampler_id == dummySamplerId) { in TranslateToGLSL()
334 compiler.get_decoration(combined.sampler_id, spv::DecorationDescriptorSet)); in TranslateToGLSL()
336 compiler.get_decoration(combined.sampler_id, spv::DecorationBinding)); in TranslateToGLSL()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.h90 SamplerId get_sampler_id(int sampler_id, const nir_variable *deref);
Dsfn_instruction_tex.h81 unsigned sampler_id() const {return m_sampler_id;} in sampler_id() function
Dsfn_emittexinstruction.cpp653 EmitTexInstruction::get_sampler_id(int sampler_id, const nir_variable *deref) in get_sampler_id() argument
655 EmitTexInstruction::SamplerId result = {sampler_id, false}; in get_sampler_id()
Dsfn_ir_to_assembly.cpp658 tex.sampler_id = tex_instr.sampler_id() + sampler_offset; in visit()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconvert_to_sampled_image_pass.cpp285 uint32_t sampler_id = sampled_image_inst->GetSingleWordInOperand(1u); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding() local
286 auto* sampler_load = def_use_mgr->GetDef(sampler_id); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconvert_to_sampled_image_pass.cpp285 uint32_t sampler_id = sampled_image_inst->GetSingleWordInOperand(1u); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding() local
286 auto* sampler_load = def_use_mgr->GetDef(sampler_id); in IsSamplerOfSampledImageDecoratedByDescriptorSetBinding()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h92 unsigned sampler_id; member
Dr600_shader.c7110 tex.sampler_id = 0; in tgsi_interp_egcm()
7111 tex.resource_id = tex.sampler_id; in tgsi_interp_egcm()
7871 tex.sampler_id = tgsi_tex_get_src_gpr(ctx, sampler_src_reg); in tgsi_tex()
7872 tex.resource_id = tex.sampler_id + R600_MAX_CONST_BUFFERS; in tgsi_tex()
7965 t->sampler_id = tgsi_tex_get_src_gpr(ctx, sampler_src_reg); in tgsi_tex()
7967 t->resource_id = t->sampler_id + R600_MAX_CONST_BUFFERS; in tgsi_tex()
8044 tex.sampler_id = tgsi_tex_get_src_gpr(ctx, sampler_src_reg); in tgsi_tex()
8046 tex.resource_id = tex.sampler_id + R600_MAX_CONST_BUFFERS; in tgsi_tex()
8274 tex.sampler_id = tgsi_tex_get_src_gpr(ctx, sampler_src_reg); in tgsi_tex()
8276 tex.resource_id = tex.sampler_id + R600_MAX_CONST_BUFFERS; in tgsi_tex()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp539 s << ", SID:" << n.bc.sampler_id; in dump()
Dsb_bc.h597 unsigned sampler_id:5; member
Dsb_bc_builder.cpp555 .SAMPLER_ID(bc.sampler_id) in build_fetch_tex()
Dsb_bc_decoder.cpp490 bc.sampler_id = w2.get_SAMPLER_ID(); in decode_fetch()

12