/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | quad-tex.c | 123 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 131 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex() 132 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex() 133 tex2d[t][s][2] = 0; in init_tex() 134 tex2d[t][s][3] = 0xff; in init_tex() 138 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 139 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 140 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex() 141 tex2d[t][s][3] = 0xff; in init_tex() 146 tex2d[ in init_tex() [all...] |
H A D | quad-sample.c | 173 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 181 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex() 182 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex() 183 tex2d[t][s][2] = 0; in init_tex() 184 tex2d[t][s][3] = 0xff; in init_tex() 188 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 189 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 190 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex() 191 tex2d[t][s][3] = 0xff; in init_tex() 196 tex2d[ in init_tex() [all...] |
H A D | fs-test.c | 257 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 265 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex() 266 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex() 267 tex2d[t][s][2] = 0; in init_tex() 268 tex2d[t][s][3] = 0xff; in init_tex() 272 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 273 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 274 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex() 275 tex2d[t][s][3] = 0xff; in init_tex() 280 tex2d[ in init_tex() [all...] |
H A D | gs-test.c | 347 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 355 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex() 356 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex() 357 tex2d[t][s][2] = 0; in init_tex() 358 tex2d[t][s][3] = 0xff; in init_tex() 362 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 363 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 364 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex() 365 tex2d[t][s][3] = 0xff; in init_tex() 370 tex2d[ in init_tex() [all...] |
H A D | vs-test.c | 245 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 253 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex() 254 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex() 255 tex2d[t][s][2] = 0; in init_tex() 256 tex2d[t][s][3] = 0xff; in init_tex() 260 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex() 261 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex() 262 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex() 263 tex2d[t][s][3] = 0xff; in init_tex() 268 tex2d[ in init_tex() [all...] |
H A D | tex-swizzle.c | 124 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 129 tex2d[t][s][0] = 0; /*B*/ in init_tex() 130 tex2d[t][s][1] = t; /*G*/ in init_tex() 131 tex2d[t][s][2] = s; /*R*/ in init_tex() 132 tex2d[t][s][3] = 1; /*A*/ in init_tex() 137 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d); in init_tex()
|
H A D | tex-srgb.c | 149 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local 154 tex2d[t][s][0] = 0; in init_tex() 155 tex2d[t][s][1] = s * 255 / SIZE; in init_tex() 156 tex2d[t][s][2] = t * 255 / SIZE; in init_tex() 157 tex2d[t][s][3] = 255; in init_tex() 162 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d); in init_tex()
|
H A D | graw_util.h | 271 if (memcmp(ptr, tex2d, sizeof tex2d) != 0) { in graw_util_create_tex2d()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureCompletenessTests.cpp | 918 tcu::TestCaseGroup* tex2d = new tcu::TestCaseGroup(m_testCtx, "2d", "2D completeness"); in init() local 919 addChild(tex2d); in init() 924 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size", "", IVec2(255, 255), IVec2(255, 255), 0, m_context.getContextInfo())); in init() 925 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_0", "", IVec2(256, 256), IVec2(255, 255), 0, m_context.getContextInfo())); in init() 926 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_1", "", IVec2(256, 256), IVec2(127, 127), 1, m_context.getContextInfo())); in init() 927 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "not_positive_level_0", "", IVec2(256, 256), IVec2(0, 0), 0, m_context.getContextInfo())); in init() 929 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgb_rgba", "", IVec2(128, 128), GL_RGB, GL_RGBA, 1)); in init() 930 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgba_rgb", "", IVec2(128, 128), GL_RGBA, GL_RGB, 1)); in init() 931 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_luminance_luminance_alpha", "", IVec2(128, 128), GL_LUMINANCE, GL_LUMINANCE_ALPHA, 1)); in init() 932 tex2d in init() [all...] |
/third_party/mesa3d/src/amd/addrlib/src/gfx11/ |
H A D | gfx11addrlib.cpp | 2147 const BOOL_32 tex2d = IsTex2d(rsrcType); 2160 else if (tex2d) 2220 const BOOL_32 tex2d = IsTex2d(rsrcType); 2259 else if (tex2d)
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
H A D | gfx9addrlib.cpp | 3227 const BOOL_32 tex2d = IsTex2d(rsrcType); 3245 else if (tex2d) 3299 const BOOL_32 tex2d = IsTex2d(rsrcType); 3367 if ((color && msaa) || thin3d || isBc || is422 || (tex2d && (pIn->bpp > 64)) || (msaa && (pIn->bpp > 32)))
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
H A D | gfx10addrlib.cpp | 2529 const BOOL_32 tex2d = IsTex2d(rsrcType); 2542 else if (tex2d) 2604 const BOOL_32 tex2d = IsTex2d(rsrcType); 2646 else if (tex2d)
|