Home
last modified time | relevance | path

Searched refs:tex1 (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DActiveTextureCacheTest.cpp78 GLuint tex1 = 0; in TEST_P() local
79 glGenTextures(1, &tex1); in TEST_P()
80 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
98 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
DWebGLCompatibilityTest.cpp2721 GLTexture tex1; in TEST_P() local
2724 FillTexture2D(tex1.get(), width, height, GLColor::green, 0, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
2727 glBindTexture(GL_TEXTURE_2D, tex1.get()); in TEST_P()
2736 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, tex1.get(), 0); in TEST_P()
4088 GLTexture tex1; in TEST_P() local
4091 FillTexture2D(tex1.get(), width, height, GLColor::green, 0, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
4094 glBindTexture(GL_TEXTURE_2D, tex1.get()); in TEST_P()
4102 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, tex1.get(), 0); in TEST_P()
4214 GLTexture tex1; in TEST_P() local
4217 FillTexture2D(tex1.get(), width, height, 0x80, 0, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, in TEST_P()
[all …]
DBlitFramebufferANGLETest.cpp2454 GLTexture tex1; in TEST_P() local
2455 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
2460 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex1, 0); in TEST_P()
DStateChangeTest.cpp2398 GLTexture tex1; in TEST_P() local
2399 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
2417 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
2427 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_P()
/third_party/glslang/Test/
Dhlsl.flattenOpaqueInit.vert19 FxaaTex tex1 = { g_tInputTexture_sampler, g_tInputTexture };
20 float4 res = lookUp(tex1);
23 FxaaTex tex3 = tex1;
/third_party/mesa3d/src/compiler/nir/
Dnir_instr_set.c649 nir_tex_instr *tex1 = nir_instr_as_tex(instr1); in nir_instrs_equal() local
652 if (tex1->op != tex2->op) in nir_instrs_equal()
655 if (tex1->num_srcs != tex2->num_srcs) in nir_instrs_equal()
657 for (unsigned i = 0; i < tex1->num_srcs; i++) { in nir_instrs_equal()
658 if (tex1->src[i].src_type != tex2->src[i].src_type || in nir_instrs_equal()
659 !nir_srcs_equal(tex1->src[i].src, tex2->src[i].src)) { in nir_instrs_equal()
664 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
665 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
666 tex1->is_array != tex2->is_array || in nir_instrs_equal()
667 tex1->is_shadow != tex2->is_shadow || in nir_instrs_equal()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_image_copy_region.c91 static void set_random_pixels_for_2_textures(struct pipe_context *ctx, struct pipe_resource *tex1, in set_random_pixels_for_2_textures() argument
95 for (unsigned level = 0; level <= tex1->last_level; level++) { in set_random_pixels_for_2_textures()
96 for (unsigned sample = 0; sample < MAX2(tex1->nr_samples, 1); sample++) { in set_random_pixels_for_2_textures()
100 … unsigned width = align(u_minify(tex1->width0, level), util_format_get_blockwidth(tex1->format)); in set_random_pixels_for_2_textures()
101 …unsigned height = align(u_minify(tex1->height0, level), util_format_get_blockheight(tex1->format)); in set_random_pixels_for_2_textures()
102 unsigned num_y_blocks = util_format_get_nblocksy(tex1->format, height); in set_random_pixels_for_2_textures()
103 unsigned num_layers = util_num_layers(tex1, level); in set_random_pixels_for_2_textures()
107 unsigned level_or_sample = tex1->nr_samples > 1 ? sample + 1 : level; in set_random_pixels_for_2_textures()
109 … map1 = pipe_texture_map_3d(ctx, tex1, level_or_sample, PIPE_MAP_WRITE, 0, 0, 0, width, height, in set_random_pixels_for_2_textures()
170 static bool compare_gpu_textures(struct pipe_context *ctx, struct pipe_resource *tex1, in compare_gpu_textures() argument
[all …]
/third_party/glslang/Test/baseResults/
Dhlsl.flattenOpaqueInit.vert.out45 0:19 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
53 0:20 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
65 0:23 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
129 0:19 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
137 0:20 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
149 0:23 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex})
187 Name 53 "tex1"
260 53(tex1): 10(ptr) Variable Function
270 Store 53(tex1) 56
271 60: 9(FxaaTex) Load 53(tex1)
[all …]
/third_party/skia/tests/
DGrSurfaceTest.cpp51 sk_sp<GrTexture> tex1 = in DEF_GPUTEST_FOR_MOCK_CONTEXT() local
54 REPORTER_ASSERT(reporter, nullptr == tex1->asRenderTarget()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
55 REPORTER_ASSERT(reporter, tex1.get() == tex1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
56 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1.get()) == tex1->asTexture()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
DSurfaceTest.cpp287 GrBackendTexture tex1 = surface->getBackendTexture(access); in test_backend_texture_access_copy_on_write() local
294 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(tex1, tex2) == (snap1 == snap2)); in test_backend_texture_access_copy_on_write()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureFilteringTests.cpp281 const glu::TextureCubeArray* const tex1 = m_gridTex; in init() local
287 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(floa… in init()
288 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f), tcu::Vec2(float(… in init()
301 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f), tcu::Vec2(fl… in init()
302 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.2f, -1.1f), tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(fl… in init()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderBundleValidationTests.cpp935 wgpu::Texture tex1 = device.CreateTexture(&textureDesc); in TEST_F() local
944 tex1.CreateView(), in TEST_F()
959 tex1.CreateView(), in TEST_F()
974 tex1.CreateView(), in TEST_F()
1005 wgpu::Texture tex1 = device.CreateTexture(&textureDesc); in TEST_F() local
1012 utils::ComboRenderPassDescriptor renderPass({tex0.CreateView()}, tex1.CreateView()); in TEST_F()
1062 wgpu::Texture tex1 = device.CreateTexture(&textureDesc); in TEST_F() local
1077 utils::ComboRenderPassDescriptor renderPass({tex1.CreateView()}); in TEST_F()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.h51 uint32_t tex0, tex1, tex2, tex3, tex4, tex5; member
Dfd2_texture.c186 so->tex1 = A2XX_SQ_TEX_1_FORMAT(fmt.format) | in fd2_sampler_view_create()
Dfd2_emit.c139 OUT_RELOC(ring, rsc->bo, fd_resource_offset(rsc, 0, 0), view->tex1, 0); in emit_texture()
/third_party/openGLES/extensions/NV/
DNV_memory_attachment.txt275 uint tex1;
287 GetTextureParameteriv(tex1, MEMORY_ATTACHABLE_NV, &attachable1);
297 // ... do same for tex1
298 TextureAttachMemoryNV(tex1, memobj, memoffset1);
327 glDeleteTextures(1, &tex1);
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFilteringTests.cpp485 const glu::TextureCube* tex1 = m_textures.size() > 1 ? m_textures[1] : tex0; in init() local
491 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f))); // minificati… in init()
492 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f))); // magnificati… in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureFilteringTests.cpp523 const glu::TextureCube* tex1 = m_textures.size() > 1 ? m_textures[1] : tex0; in init() local
529 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f))); // minificat… in init()
530 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f))); // magnificat… in init()
540 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f))); // minifica… in init()
541 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.2f, -1.1f), tcu::Vec2(-0.8f, -0.8f))); // magnific… in init()
Des3fFboColorbufferTests.cpp249 deUint32 tex1 = 0; in render() local
258 deUint32& tex = ndx ? tex1 : tex0; in render()
312 glBindTexture(GL_TEXTURE_2D, tex1); in render()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp491 const int tex1 = m_textures.size() > 1 ? 1 : 0; in TextureCubeFilteringTestInstance() local
497 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f))); // minificat… in TextureCubeFilteringTestInstance()
498 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(0.2f, 0.2f), tcu::Vec2(0.6f, 0.5f))); // magnificat… in TextureCubeFilteringTestInstance()
505 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.19f, -1.3f), tcu::Vec2(1.1f, 1.35f))); // minifica… in TextureCubeFilteringTestInstance()
506 …m_cases.push_back(FilterCase(tex1, tcu::Vec2(-1.2f, -1.1f), tcu::Vec2(-0.8f, -0.8f))); // magnific… in TextureCubeFilteringTestInstance()
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp930 GLuint tex1 = 1; in TEST_F() local
932 glBindTexture(GL_TEXTURE_2D, tex1); in TEST_F()
939 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex1, 0); in TEST_F()