/external/mesa3d/src/freedreno/fdl/ |
D | fd6_layout.c | 33 is_r8g8(struct fdl_layout *layout) in is_r8g8() argument 35 return layout->cpp == 2 && in is_r8g8() 36 util_format_get_nr_components(layout->format) == 2; in is_r8g8() 40 fdl6_get_ubwc_blockwidth(struct fdl_layout *layout, in fdl6_get_ubwc_blockwidth() argument 57 if (is_r8g8(layout)) { in fdl6_get_ubwc_blockwidth() 63 uint32_t cpp = fdl_cpp_shift(layout); in fdl6_get_ubwc_blockwidth() 70 fdl6_tile_alignment(struct fdl_layout *layout, uint32_t *heightalign) in fdl6_tile_alignment() argument 72 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_tile_alignment() 75 if (is_r8g8(layout) || layout->cpp == 1) { in fdl6_tile_alignment() 76 layout->pitchalign = 1; in fdl6_tile_alignment() [all …]
|
D | fd_layout_test.c | 34 struct fdl_layout layout = { in fdl_test_layout() local 35 .ubwc = testcase->layout.ubwc, in fdl_test_layout() 36 .tile_mode = testcase->layout.tile_mode, in fdl_test_layout() 40 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout() 42 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { in fdl_test_layout() 48 fdl6_layout(&layout, in fdl_test_layout() 50 MAX2(testcase->layout.nr_samples, 1), in fdl_test_layout() 51 testcase->layout.width0, in fdl_test_layout() 52 MAX2(testcase->layout.height0, 1), in fdl_test_layout() 53 MAX2(testcase->layout.depth0, 1), in fdl_test_layout() [all …]
|
D | freedreno_layout.h | 136 fdl_cpp_shift(const struct fdl_layout *layout) in fdl_cpp_shift() argument 138 assert(util_is_power_of_two_or_zero(layout->cpp)); in fdl_cpp_shift() 139 return layout->cpp_shift; in fdl_cpp_shift() 143 fdl_pitch(const struct fdl_layout *layout, unsigned level) in fdl_pitch() argument 145 return align(u_minify(layout->pitch0, level), 1 << layout->pitchalign); in fdl_pitch() 153 fdl_ubwc_pitch(const struct fdl_layout *layout, unsigned level) in fdl_ubwc_pitch() argument 155 if (!layout->ubwc) in fdl_ubwc_pitch() 157 return align(u_minify(layout->ubwc_width0, level), RGB_TILE_WIDTH_ALIGNMENT); in fdl_ubwc_pitch() 161 fdl_layer_stride(const struct fdl_layout *layout, unsigned level) in fdl_layer_stride() argument 163 if (layout->layer_first) in fdl_layer_stride() [all …]
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 15 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST() local 18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 19 REPORTER_ASSERT(r, 8 == layout.size(*context.fFloat2_Type)); in DEF_TEST() 20 REPORTER_ASSERT(r, 12 == layout.size(*context.fFloat3_Type)); in DEF_TEST() 21 REPORTER_ASSERT(r, 16 == layout.size(*context.fFloat4_Type)); in DEF_TEST() 22 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 23 REPORTER_ASSERT(r, 8 == layout.size(*context.fInt2_Type)); in DEF_TEST() 24 REPORTER_ASSERT(r, 12 == layout.size(*context.fInt3_Type)); in DEF_TEST() 25 REPORTER_ASSERT(r, 16 == layout.size(*context.fInt4_Type)); in DEF_TEST() 26 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 15 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST() local 18 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST() 19 REPORTER_ASSERT(r, 8 == layout.size(*context.fFloat2_Type)); in DEF_TEST() 20 REPORTER_ASSERT(r, 12 == layout.size(*context.fFloat3_Type)); in DEF_TEST() 21 REPORTER_ASSERT(r, 16 == layout.size(*context.fFloat4_Type)); in DEF_TEST() 22 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST() 23 REPORTER_ASSERT(r, 8 == layout.size(*context.fInt2_Type)); in DEF_TEST() 24 REPORTER_ASSERT(r, 12 == layout.size(*context.fInt3_Type)); in DEF_TEST() 25 REPORTER_ASSERT(r, 16 == layout.size(*context.fInt4_Type)); in DEF_TEST() 26 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() [all …]
|
/external/angle/third_party/glslang/src/Test/baseResults/ |
D | glsl.450.subgroupVote.comp.out | 23 0:20 r: direct index for structure (layout( column_major shared) buffer int) 24 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 25 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 34 0:22 r: direct index for structure (layout( column_major shared) buffer int) 35 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 36 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 43 0:22 f4: direct index for structure (layout( column_major shared) buffer 4-compone… 44 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 45 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 53 0:23 r: direct index for structure (layout( column_major shared) buffer int) [all …]
|
D | hlsl.matpack-pragma.frag.out | 16 0:31 direct index (layout( row_major) temp 4-component vector of float) 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layo… 19 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 26 0:31 direct index (layout( column_major) temp 4-component vector of float) 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layo… 29 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 36 0:31 direct index (layout( column_major) temp 4-component vector of float) 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… [all …]
|
D | glsl.450.subgroupBallot.comp.out | 39 0:27 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 40 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 41 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 51 0:28 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 52 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 53 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 74 0:29 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 75 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 76 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 89 0:30 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… [all …]
|
D | glsl.es320.subgroupVote.comp.out | 23 0:19 r: direct index for structure (layout( column_major shared) buffer highp int) 24 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 25 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 35 0:21 r: direct index for structure (layout( column_major shared) buffer highp int) 36 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 37 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 45 0:21 f4: direct index for structure (layout( column_major shared) buffer highp 4-c… 46 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 47 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 55 0:22 r: direct index for structure (layout( column_major shared) buffer highp int) [all …]
|
D | glsl.450.subgroupArithmetic.comp.out | 21 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 22 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 23 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 31 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 32 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 33 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 42 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 43 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 44 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 55 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
D | glsl.450.subgroupClustered.comp.out | 21 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 22 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 23 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 31 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 32 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 33 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 44 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 45 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 46 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 57 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
D | glsl.450.subgroupPartitioned.comp.out | 25 0:21 u4: direct index for structure (layout( column_major shared) buffer 4-component vector … 26 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 27 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 33 0:21 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 34 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 35 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 43 0:22 u4: direct index for structure (layout( column_major shared) buffer 4-component vector … 44 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 45 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 51 0:22 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
D | runtimeArray.vert.out | 43 0:46 direct index (layout( column_major shared) temp int) 44 0:46 a: direct index for structure (layout( column_major shared) uniform runtime-sized array… 45 … 'ubuf' (layout( column_major shared) uniform block{layout( column_major shared) uniform … 50 0:47 direct index (layout( column_major shared) temp float) 51 0:47 b: direct index for structure (layout( column_major shared) uniform runtime-sized array… 52 … 'ubuf' (layout( column_major shared) uniform block{layout( column_major shared) uniform … 57 0:48 direct index (layout( column_major shared) temp int) 58 0:48 a: direct index for structure (layout( column_major shared) buffer runtime-sized array … 59 …48 'buf' (layout( column_major shared) buffer block{layout( column_major shared) buffer r… 64 0:49 direct index (layout( column_major shared) temp float) [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | glsl.450.subgroupVote.comp.out | 23 0:20 r: direct index for structure (layout( column_major shared) buffer int) 24 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 25 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 34 0:22 r: direct index for structure (layout( column_major shared) buffer int) 35 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 36 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 43 0:22 f4: direct index for structure (layout( column_major shared) buffer 4-compone… 44 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 45 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 53 0:23 r: direct index for structure (layout( column_major shared) buffer int) [all …]
|
D | hlsl.matpack-pragma.frag.out | 16 0:31 direct index (layout( row_major) temp 4-component vector of float) 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layo… 19 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 26 0:31 direct index (layout( column_major) temp 4-component vector of float) 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix of float mat1, layo… 29 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 36 0:31 direct index (layout( column_major) temp 4-component vector of float) 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… [all …]
|
D | glsl.450.subgroupBallot.comp.out | 39 0:27 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 40 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 41 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 51 0:28 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 52 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 53 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 74 0:29 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 75 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 76 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 89 0:30 u4: direct index for structure (layout( column_major shared) buffer 4-component vecto… [all …]
|
D | glsl.es320.subgroupVote.comp.out | 23 0:19 r: direct index for structure (layout( column_major shared) buffer highp int) 24 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 25 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 35 0:21 r: direct index for structure (layout( column_major shared) buffer highp int) 36 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 37 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 45 0:21 f4: direct index for structure (layout( column_major shared) buffer highp 4-c… 46 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer highp 4-comp… 47 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 55 0:22 r: direct index for structure (layout( column_major shared) buffer highp int) [all …]
|
D | glsl.450.subgroupArithmetic.comp.out | 21 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 22 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 23 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 31 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 32 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 33 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 42 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 43 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 44 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 55 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
D | glsl.450.subgroupClustered.comp.out | 21 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 22 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 23 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 31 0:19 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 32 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 33 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 44 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vecto… 45 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 46 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 57 0:20 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
D | glsl.450.subgroupPartitioned.comp.out | 25 0:21 u4: direct index for structure (layout( column_major shared) buffer 4-component vector … 26 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 27 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 33 0:21 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… 34 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 35 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 43 0:22 u4: direct index for structure (layout( column_major shared) buffer 4-component vector … 44 …layout( binding=0 column_major shared) temp block{layout( column_major shared) buffer 4-component … 45 …layout( binding=0 column_major shared) buffer 4-element array of block{layout( column_major shared… 51 0:22 f4: direct index for structure (layout( column_major shared) buffer 4-component vec… [all …]
|
/external/pdfium/testing/resources/javascript/xfa_specific/ |
D | xfa_layout_pseudomodel.in | 11 <subform layout="tb" name="my_doc"> 27 testROProperty(xfa.layout, "ready", true); 29 expectError("xfa.layout.absPage()"); 30 expectError("xfa.layout.absPage(1, 2)"); 31 expect("xfa.layout.absPage(1)", 0); 33 expect("xfa.layout.absPageCount()", 2); 34 expect("xfa.layout.absPageCount('args', [42], 'ignored')", 2); 36 expect("xfa.layout.absPageCountInBatch()", 0); 37 expect("xfa.layout.absPageCountInBatch('args', [42], 'ignored')", 0); 39 expectError("xfa.layout.absPageInBatch()"); [all …]
|
/external/angle/third_party/glslang/src/Test/ |
D | 440.vert | 5 layout(location = 2, component = 2) in vec2 a; 6 layout(location = 2, component = 1) in float b; 8 layout(location = 3, component = 2) in vec3 c; // ERROR: c overflows components 2 and 3 10 layout(location = 0, component = 3) in float d[4]; 12 layout(location = 4, component = 0) in vec3 e[5]; 13 layout(location = 4, component = 3) in float f[5]; 15 layout(location = 9, component = 4) in float g[6]; // ERROR, component too big 17 layout(location = 4, component = 2) in vec2 h; // component overlap okay for vertex in 19 layout(location = 3, component = 2) out vec2 i; 20 layout(location = 3, component = 0) out vec2 j; [all …]
|
D | 440.frag | 7 layout(location = 4, component = 2) in vec2 a; 10 layout(location = 4, component = 1) in float b; 11 layout(location = 4, component = 2) in vec2 h; // ERROR, component overlap not okay for fragment in 13 layout(location = 3, component = 2) in vec3 c; // ERROR: c overflows components 2 and 3 16 layout(location = 20, component = 0) in vec3 e[6]; 19 layout(location = 20, component = 3) in float f[6]; 21 layout(location = 30, component = 3) out int be; 22 layout(location = 30, component = 0) out vec3 bf; // ERROR, not the same basic type 29 layout(offset=12) uniform; // ERROR 30 layout(offset=12) in; // ERROR [all …]
|
/external/deqp-deps/glslang/Test/ |
D | 440.vert | 5 layout(location = 2, component = 2) in vec2 a; 6 layout(location = 2, component = 1) in float b; 8 layout(location = 3, component = 2) in vec3 c; // ERROR: c overflows components 2 and 3 10 layout(location = 0, component = 3) in float d[4]; 12 layout(location = 4, component = 0) in vec3 e[5]; 13 layout(location = 4, component = 3) in float f[5]; 15 layout(location = 9, component = 4) in float g[6]; // ERROR, component too big 17 layout(location = 4, component = 2) in vec2 h; // component overlap okay for vertex in 19 layout(location = 3, component = 2) out vec2 i; 20 layout(location = 3, component = 0) out vec2 j; [all …]
|
D | 440.frag | 7 layout(location = 4, component = 2) in vec2 a; 10 layout(location = 4, component = 1) in float b; 11 layout(location = 4, component = 2) in vec2 h; // ERROR, component overlap not okay for fragment in 13 layout(location = 3, component = 2) in vec3 c; // ERROR: c overflows components 2 and 3 16 layout(location = 20, component = 0) in vec3 e[6]; 19 layout(location = 20, component = 3) in float f[6]; 21 layout(location = 30, component = 3) out int be; 22 layout(location = 30, component = 0) out vec3 bf; // ERROR, not the same basic type 29 layout(offset=12) uniform; // ERROR 30 layout(offset=12) in; // ERROR [all …]
|