/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/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/deqp-deps/glslang/Test/baseResults/ |
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 | 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 …]
|
D | 440.frag.out | 8 ERROR: 0:29: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 9 ERROR: 0:30: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 10 ERROR: 0:30: 'layout' : offset/align can only be used on a uniform or buffer 11 ERROR: 0:31: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 12 ERROR: 0:31: 'layout' : offset/align can only be used on a uniform or buffer 13 ERROR: 0:33: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 14 ERROR: 0:34: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 15 ERROR: 0:34: 'layout' : offset/align can only be used on a uniform or buffer 16 ERROR: 0:35: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier decl… 17 ERROR: 0:35: 'layout' : offset/align can only be used on a uniform or buffer [all …]
|
D | hlsl.mul-truncate.frag.out | 21 0:20 v2: direct index for structure (layout( row_major std140) uniform 2-component vecto… 22 …layout( row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float m44,… 26 0:20 v3: direct index for structure (layout( row_major std140) uniform 3-component vec… 27 …layout( row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float m44,… 35 0:21 v4: direct index for structure (layout( row_major std140) uniform 4-component vec… 36 …layout( row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float m44,… 39 0:21 v2: direct index for structure (layout( row_major std140) uniform 2-component vecto… 40 …layout( row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float m44,… 48 0:24 m44: direct index for structure (layout( row_major std140) uniform 4X4 matrix of … 49 …layout( row_major std140) uniform block{layout( row_major std140) uniform 4X4 matrix of float m44,… [all …]
|
D | hlsl.shift.per-set.frag.out | 8 0:35 't1' (layout( set=1 binding=1) uniform texture1D) 9 0:36 't2' (layout( set=1 binding=2) uniform texture2D) 10 0:37 't3' (layout( set=2 binding=1) uniform texture3D) 11 0:38 direct index (layout( row_major std430) buffer 4-component vector of float) 12 0:38 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element a… 13 0:38 't4' (layout( set=3 binding=1 row_major std430) readonly buffer block{layout( row_maj… 18 0:39 indirect index (layout( row_major std430) buffer uint) 19 0:39 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element a… 20 0:39 't5' (layout( set=3 binding=2 row_major std430) readonly buffer block{layout( row_maj… 28 0:40 't6' (layout( set=3 binding=3 rgba32f) uniform textureBuffer) [all …]
|
D | 300layout.vert.out | 1 300layout.vert 6 ERROR: 0:12: 'layout' : cannot specify matrix layout on a variable declaration 7 ERROR: 0:12: 'layout' : cannot specify packing on a variable declaration 10 ERROR: 0:21: 'bad1' : member of block cannot have a packing layout qualifier 11 ERROR: 0:22: 'bad2' : member of block cannot have a packing layout qualifier 12 ERROR: 0:23: 'bad3' : member of block cannot have a packing layout qualifier 19 ERROR: 0:54: 'layout' : cannot specify packing on a variable declaration 32 0:46 'p' (layout( location=3) in highp 4-component vector of float) 37 0:46 M1: direct index for structure (layout( row_major std140 offset=0) uniform hi… 38 …layout( row_major std140) uniform block{layout( row_major std140 offset=0) uniform highp 4X4 matri… [all …]
|
D | 440.vert.out | 26 ERROR: 0:95: 'xfb layout qualifier' : can only be used on an output 98 0:? 'a' (layout( location=2 component=2) in 2-component vector of float) 99 0:? 'b' (layout( location=2 component=1) in float) 100 0:? 'c' (layout( location=3 component=2) in 3-component vector of float) 101 0:? 'd' (layout( location=0 component=3) in 4-element array of float) 102 0:? 'e' (layout( location=4 component=0) in 5-element array of 3-component vector of float) 103 0:? 'f' (layout( location=4 component=3) in 5-element array of float) 104 0:? 'g' (layout( location=9) in 6-element array of float) 105 0:? 'h' (layout( location=4 component=2) in 2-component vector of float) 106 0:? 'i' (layout( location=3 component=2) smooth out 2-component vector of float) [all …]
|
D | hlsl.matpack-1.frag.out | 12 …rect index for structure (layout( row_major std140) uniform structure{layout( row_major) temp 4X4 … 13 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 18 0:24 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) 19 …rect index for structure (layout( row_major std140) uniform structure{layout( row_major) temp 4X4 … 20 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 27 … g_MyBuffer2: direct index for structure (layout( row_major std140) uniform structure{lay… 28 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… 33 0:25 mat1: direct index for structure (layout( column_major) temp 4X4 matrix of float) 34 … g_MyBuffer2: direct index for structure (layout( row_major std140) uniform structure{lay… 35 …layout( row_major std140) uniform block{layout( row_major std140) uniform structure{layout( row_ma… [all …]
|
D | hlsl.constantbuffer.frag.out | 10 0:21 x: direct index for structure (layout( row_major std140) uniform bool) 11 0:21 direct index (layout( row_major std140) temp block{layout( row_major std140) uniform … 12 … direct index (layout( row_major std140) temp 4-element array of block{layout( row_major … 13 … 'cb3' (layout( row_major std140) uniform 2-element array of 4-element array of block{layout(… 24 0:22 x: direct index for structure (layout( row_major std140) uniform 4-component vect… 25 0:22 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std… 28 0:22 y: direct index for structure (layout( row_major std140) uniform float) 29 0:22 direct index (layout( row_major std140) temp block{layout( row_major std140) un… 30 … 'cb2' (layout( row_major std140) uniform 3-element array of block{layout( row_majo… 36 0:22 c1: direct index for structure (layout( row_major std140) uniform int) [all …]
|
D | 150.geom.out | 14 ERROR: 0:66: 'max_vertices' : cannot change previously set layout value 57 0:32 color: direct index for structure (layout( stream=0) out 3-component vector of float) 58 0:32 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of flo… 69 0:33 direct index (layout( stream=0) temp float ClipDistance) 70 0:33 gl_ClipDistance: direct index for structure (layout( stream=0) out unsized 4-element … 71 …layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_… 87 0:34 gl_Position: direct index for structure (layout( stream=0) gl_Position 4-component vect… 88 …layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_… 99 0:35 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize float PointSiz… 100 …layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_… [all …]
|
D | 310runtimeArray.vert.out | 12 0:14 'o' (layout( location=0) smooth out highp float) 14 0:14 direct index (layout( column_major shared) temp structure{ global highp float f}) 15 0:14 s: direct index for structure (layout( column_major shared) buffer unsized 6-elemen… 16 0:14 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) … 24 0:15 'o' (layout( location=0) smooth out highp float) 26 0:15 direct index (layout( column_major shared) temp structure{ global highp float f}) 27 0:15 s: direct index for structure (layout( column_major shared) buffer unsized 7-elemen… 28 0:15 'b2name' (layout( column_major shared) buffer block{layout( column_major shared) … 36 0:16 'o' (layout( location=0) smooth out highp float) 38 0:16 direct index (layout( column_major shared) temp structure{ global highp float f}) [all …]
|
D | 330.frag.out | 7 ERROR: 0:44: 'non-literal layout-id value' : not supported for this version or the enabled extensio… 8 ERROR: 0:44: 'layout-id value' : cannot be negative 9 ERROR: 0:45: 'non-literal layout-id value' : not supported for this version or the enabled extensio… 10 ERROR: 0:46: 'layout-id value' : scalar integer expression required 12 ERROR: 0:47: 'non-literal layout-id value' : not supported for this version or the enabled extensio… 13 ERROR: 0:48: 'non-literal layout-id value' : not supported for this version or the enabled extensio… 14 ERROR: 0:52: 'f2' : cannot use layout qualifiers on structure members 20 ERROR: 0:68: 'layout-id value' : cannot be negative 21 ERROR: 0:69: 'layout-id value' : cannot be negative 22 ERROR: 0:76: 'f2' : cannot use layout qualifiers on structure members [all …]
|
D | hlsl.structbuffer.atomics.frag.out | 10 0:8 indirect index (layout( row_major std430) buffer uint) 11 0:8 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element … 12 0:8 'sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsi… 25 0:9 indirect index (layout( row_major std430) buffer uint) 26 0:9 @data: direct index for structure (layout( row_major std430) buffer unsized 1-elemen… 27 0:9 'sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer un… 38 0:10 indirect index (layout( row_major std430) buffer uint) 39 0:10 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element… 40 0:10 'sbuf' (layout( row_major std430) buffer block{layout( row_major std430) buffer uns… 53 0:11 indirect index (layout( row_major std430) buffer uint) [all …]
|
D | 310.comp.out | 10 ERROR: 0:44: 'shared' : cannot apply layout qualifiers to a shared variable 19 ERROR: 0:76: 'image variables not declared 'writeonly' and without a format layout qualifier' : not… 56 ERROR: 0:172: 'image variables not declared 'writeonly' and without a format layout qualifier' : no… 58 ERROR: 0:173: 'image variables not declared 'writeonly' and without a format layout qualifier' : no… 61 ERROR: 0:174: 'image variables not declared 'writeonly' and without a format layout qualifier' : no… 104 0:36 value: direct index for structure (layout( column_major shared) buffer highp int) 105 0:36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buff… 109 0:36 indirect index (layout( column_major shared) temp highp float) 110 0:36 values: direct index for structure (layout( column_major shared) buffer runtime-siz… 111 …36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) b… [all …]
|
D | hlsl.buffer.frag.out | 21 0:45 v24: direct index for structure (layout( row_major std140) uniform 4-component vector… 22 0:45 'anon@4' (layout( row_major std140) uniform block{layout( row_major std140) uniform… 31 0:45 v1: direct index for structure (layout( row_major std140) uniform 4-compone… 32 0:45 'anon@0' (layout( row_major std140) uniform block{layout( row_major std14… 35 0:45 v2: direct index for structure (layout( row_major std430) buffer 4-component … 36 0:45 'anon@1' (layout( row_major std430) readonly buffer block{layout( row_major… 39 0:45 v3: direct index for structure (layout( row_major std140 offset=0) uniform 4-co… 40 … 'anon@2' (layout( row_major std140) uniform block{layout( row_major std140 offset=0) uniform… 43 0:45 v4: direct index for structure (layout( row_major std430 offset=16) buffer 4-comp… 44 …layout( binding=8 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buff… [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 …]
|
D | 430.vert | 3 layout(location = 3) vec4 v4; // ERROR 5 layout(location = 4) uniform vec4 uv4; 7 layout(location = 2) in inb1 { vec4 v; } b1; // ERROR 8 layout(location = 2) out outb1 { vec4 v; } b2; // ERROR 25 layout(row_major) mat3 m3; // ERROR 30 layout(location = 3) vec2 v2, // ERROR 40 layout(location = 10) out S cs[2]; // 10 through 10 + 2 * 22 - 1 = 53 41 layout(location = 54) out float cf; 42 layout(location = 53) out float cg; // ERROR, collision at 31 44 layout(location = 10) in vec4 alias1; [all …]
|
D | 330.frag | 4 layout(location=0, index=0) out vec4 outVar; 44 layout(location = -2) in vec4 v1; // ERROR 45 layout(location = start + 2) in vec4 v2; // ERROR 46 layout(location = 4.7e10) in vec4 v20; // ERROR 47 layout(location = +60) in float v21; // ERROR 48 layout(location = (2)) in float v22; // ERROR 52 layout(location = 3) float f2; // ERROR 55 layout(location = 1) in inblock { // ERROR 57 layout(location = 3) float f2; // ERROR 60 layout(location = 1) uniform ublock { // ERROR [all …]
|
D | hlsl.subpass.frag | 2 layout(input_attachment_index = 1) SubpassInput<float4> subpass_f4 : register(t1); 3 layout(input_attachment_index = 2) SubpassInput<int4> subpass_i4; 4 layout(input_attachment_index = 3) SubpassInput<uint4> subpass_u4; 6 layout(input_attachment_index = 4) SubpassInputMS<float4> subpass_ms_f4; 7 layout(input_attachment_index = 5) SubpassInputMS<int4> subpass_ms_i4; 8 layout(input_attachment_index = 6) SubpassInputMS<uint4> subpass_ms_u4; 10 layout(input_attachment_index = 1) SubpassInput<float3> subpass_f3; 11 layout(input_attachment_index = 2) SubpassInput<int3> subpass_i3; 12 layout(input_attachment_index = 3) SubpassInput<uint3> subpass_u3; 14 layout(input_attachment_index = 4) SubpassInputMS<float3> subpass_ms_f3; [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | layout_util.cc | 59 Layout layout; in MakeLayout() local 60 layout.set_format(DENSE); in MakeLayout() 62 layout.add_minor_to_major(dimension_number); in MakeLayout() 72 *layout.add_tiles() = tile; in MakeLayout() 74 layout.set_element_size_in_bits(element_size_in_bits); in MakeLayout() 75 return layout; in MakeLayout() 79 std::vector<int64> layout(rank); in MakeDescendingLayout() local 80 std::iota(layout.rbegin(), layout.rend(), static_cast<int64>(0)); in MakeDescendingLayout() 81 return MakeLayout(layout); in MakeDescendingLayout() 86 Layout layout; in MakeLayoutFromMajorToMinor() local [all …]
|
/external/deqp/external/vulkancts/data/vulkan/glsl/440/ |
D | linkage.test | 20 layout(location = 0) in vec4 dEQP_Position; 21 layout(location = 1, component = 0) in float in0_0; 22 layout(location = 1, component = 1) in float in0_1; 23 layout(location = 0) out vec2 var0; 36 layout(location = 0) in vec2 var0; 37 layout(location = 0) out vec2 dEQP_FragColor; 60 layout(location = 0) in vec4 dEQP_Position; 61 layout(location = 1, component = 0) in float in0_0; 62 layout(location = 1, component = 1) in float in0_1; 63 layout(location = 1, component = 3) in float in0_3; [all …]
|
/external/u-boot/common/eeprom/ |
D | eeprom_layout.c | 37 __weak void __eeprom_layout_assign(struct eeprom_layout *layout, in __eeprom_layout_assign() argument 40 layout->fields = layout_unknown; in __eeprom_layout_assign() 41 layout->num_of_fields = ARRAY_SIZE(layout_unknown); in __eeprom_layout_assign() 43 void eeprom_layout_assign(struct eeprom_layout *layout, int layout_version) \ 50 static void eeprom_layout_print(const struct eeprom_layout *layout) in eeprom_layout_print() argument 53 struct eeprom_field *fields = layout->fields; in eeprom_layout_print() 55 for (i = 0; i < layout->num_of_fields; i++) in eeprom_layout_print() 67 static int eeprom_layout_update_field(struct eeprom_layout *layout, in eeprom_layout_update_field() argument 71 struct eeprom_field *fields = layout->fields; in eeprom_layout_update_field() 79 for (i = 0; i < layout->num_of_fields; i++) { in eeprom_layout_update_field() [all …]
|