Home
last modified time | relevance | path

Searched refs:image_unit (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c202 unsigned image_unit, in draw_llvm_image_member() argument
213 debug_assert(image_unit < PIPE_MAX_SHADER_IMAGES); in draw_llvm_image_member()
220 indices[2] = lp_build_const_int32(gallivm, image_unit); in draw_llvm_image_member()
224 …LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, image_unit), ""); in draw_llvm_image_member()
236 lp_build_name(res, "context.image%u.%s", image_unit, member_name); in draw_llvm_image_member()
299 unsigned image_unit, LLVMValueRef image_unit_offset) \
302 image_unit, image_unit_offset, \
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c266 unsigned image_unit, in LP_LLVM_SAMPLER_MEMBER()
277 assert(image_unit < PIPE_MAX_SHADER_IMAGES); in LP_LLVM_SAMPLER_MEMBER()
284 indices[2] = lp_build_const_int32(gallivm, image_unit); in LP_LLVM_SAMPLER_MEMBER()
288 …LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, image_unit), ""); in LP_LLVM_SAMPLER_MEMBER()
300 lp_build_name(res, "context.image%u.%s", image_unit, member_name); in LP_LLVM_SAMPLER_MEMBER()
320 unsigned image_unit, LLVMValueRef image_unit_offset) \
323 image_unit, image_unit_offset, \
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp366 void setupImage(glw::GLuint image_unit, glw::GLenum internal_format);
DesextcTextureCubeMapArraySampling.cpp4956 void TextureCubeMapArraySamplingTest::textureDefinition::setupImage(glw::GLuint image_unit, glw::GL… argument
4963 …m_gl->bindImageTexture(image_unit, m_texture_object_id, 0, GL_FALSE, 0, GL_WRITE_ONLY, internal_fo…
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp7009 …void BindTextureToImage(GLuint program_id, GLuint texture_id, GLuint image_unit, const char* unifo… in BindTextureToImage() argument
7024 …glBindImageTexture(image_unit, texture_id, 0 /* level */, GL_FALSE, 0 /* layer */, GL_READ_WRITE, … in BindTextureToImage()
7028 glUniform1i(image_uniform_location, image_unit); in BindTextureToImage()
7509 void BindTextureToImage(GLuint program_id, GLuint texture_id, GLuint image_unit, GLuint layer, in BindTextureToImage() argument
7524 …glBindImageTexture(image_unit, texture_id, 0 /* level */, GL_FALSE /* layered */, layer, GL_READ_W… in BindTextureToImage()
7529 glUniform1i(image_uniform_location, image_unit); in BindTextureToImage()
8172 …void BindTextureToImage(GLuint program_id, GLuint texture_id, GLint level, GLuint image_unit, cons… in BindTextureToImage() argument
8187 …glBindImageTexture(image_unit, texture_id, level, GL_FALSE, 0 /* layer */, GL_READ_WRITE, GL_RGBA8… in BindTextureToImage()
8191 glUniform1i(image_uniform_location, image_unit); in BindTextureToImage()
Dgl4cEnhancedLayoutsTests.cpp6972 static const GLuint image_unit = 0; in test() local
6987 …gl.bindImageTexture(image_unit, image_texture.m_id, 0 /* level */, GL_FALSE /* layered */, 0 /* La… in test()
6991 Utils::Program::Uniform(gl, Utils::Type::_int, 1 /* count */, location, &image_unit); in test()