Home
last modified time | relevance | path

Searched refs:array_stride (Results 1 – 25 of 42) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp97 unsigned array_stride = packing == GLSL_INTERFACE_PACKING_STD430 ? in emit_access() local
107 deref_offset + i * array_stride, in emit_access()
299 unsigned array_stride; in setup_buffer_access() local
309 array_stride = 4; in setup_buffer_access()
311 array_stride *= 2; in setup_buffer_access()
318 array_stride = 4; in setup_buffer_access()
320 array_stride *= 2; in setup_buffer_access()
345 array_stride = deref_array->type->std430_array_stride(array_row_major); in setup_buffer_access()
347 array_stride = deref_array->type->std140_size(array_row_major); in setup_buffer_access()
348 array_stride = glsl_align(array_stride, 16); in setup_buffer_access()
[all …]
Dgl_nir_lower_atomics.c120 unsigned array_stride = ATOMIC_COUNTER_SIZE; in lower_deref_instr() local
122 array_stride *= glsl_get_aoa_size(d->type); in lower_deref_instr()
125 nir_imm_int(b, array_stride))); in lower_deref_instr()
Dlower_ubo_reference.cpp683 unsigned array_stride = 0; in calculate_unsized_array_stride() local
704 array_stride = unsized_array_type->std430_array_stride(array_row_major); in calculate_unsized_array_stride()
706 array_stride = unsized_array_type->std140_size(array_row_major); in calculate_unsized_array_stride()
707 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride()
727 array_stride = unsized_array_type->std430_array_stride(array_row_major); in calculate_unsized_array_stride()
729 array_stride = unsized_array_type->std140_size(array_row_major); in calculate_unsized_array_stride()
730 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride()
737 return array_stride; in calculate_unsized_array_stride()
Dir_uniform.h156 int array_stride; member
Dlink_uniforms.cpp202 int array_stride = -1; in calculate_array_size_and_stride() local
246 array_stride = get_array_stride(uni, iface, field, interface_name, in calculate_array_size_and_stride()
256 uni->top_level_array_stride = array_stride; in calculate_array_size_and_stride()
1138 this->uniforms[id].array_stride = in visit_field()
1141 this->uniforms[id].array_stride = in visit_field()
1145 this->uniforms[id].array_stride = 0; in visit_field()
1161 this->uniforms[id].array_stride = -1; in visit_field()
Dgl_nir_link_atomics.c239 storage->array_stride = glsl_atomic_size(without_array); in gl_nir_link_assign_atomic_counter_resources()
241 storage->array_stride = 0; in gl_nir_link_assign_atomic_counter_resources()
Dlink_atomics.cpp248 storage->array_stride = (var->type->is_array() ? in link_assign_atomic_counter_resources()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcombine_access_chains.cpp73 uint32_t array_stride = 0; in GetArrayStride() local
76 [&array_stride](const Instruction& decoration) { in GetArrayStride()
79 array_stride = decoration.GetSingleWordInOperand(1); in GetArrayStride()
81 array_stride = decoration.GetSingleWordInOperand(2); in GetArrayStride()
85 return array_stride; in GetArrayStride()
235 uint32_t array_stride = GetArrayStride(ptr_input); in CombineAccessChain() local
236 if (array_stride != 0) return false; in CombineAccessChain()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcombine_access_chains.cpp73 uint32_t array_stride = 0; in GetArrayStride() local
76 [&array_stride](const Instruction& decoration) { in GetArrayStride()
79 array_stride = decoration.GetSingleWordInOperand(1); in GetArrayStride()
81 array_stride = decoration.GetSingleWordInOperand(2); in GetArrayStride()
85 return array_stride; in GetArrayStride()
235 uint32_t array_stride = GetArrayStride(ptr_input); in CombineAccessChain() local
236 if (array_stride != 0) return false; in CombineAccessChain()
/external/deqp-deps/amber/src/
Dformat.cc280 uint32_t array_stride = in AddSegmentsForType() local
282 assert(ary_seg_size <= array_stride && in AddSegmentsForType()
285 seg_size += array_stride; in AddSegmentsForType()
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Darray.mlir4 …spv.func @array_stride(%arg0 : !spv.ptr<!spv.array<4x!spv.array<4xf32, stride=4>, stride=128>, Sto…
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp525 uint32_t array_stride = 0; in checkLayout() local
528 array_stride = decoration.params()[0]; in checkLayout()
529 if (array_stride == 0) { in checkLayout()
532 if (!IsAlignedTo(array_stride, array_alignment)) in checkLayout()
552 uint32_t next_offset = i * array_stride + offset; in checkLayout()
572 if (element_size > array_stride) { in checkLayout()
574 << "contains an array with stride " << array_stride in checkLayout()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp526 uint32_t array_stride = 0; in checkLayout() local
529 array_stride = decoration.params()[0]; in checkLayout()
530 if (array_stride == 0) { in checkLayout()
533 if (!IsAlignedTo(array_stride, array_alignment)) in checkLayout()
553 uint32_t next_offset = i * array_stride + offset; in checkLayout()
574 if (element_size > array_stride) { in checkLayout()
576 << "contains an array with stride " << array_stride in checkLayout()
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles32-master.txt9603 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
9604 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
9605 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
9606 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
9607 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
9608 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
9609 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
9610 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
9611 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
9612 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]
Dgles31-master.txt16898 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
16899 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
16900 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
16901 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
16902 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
16903 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
16904 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
16905 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
16906 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
16907 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp513 unsigned array_stride = 1; in r600_lower_deref_instr() local
515 array_stride *= glsl_get_aoa_size(d->type); in r600_lower_deref_instr()
518 nir_imm_int(b, array_stride))); in r600_lower_deref_instr()
/external/deqp/doc/testspecs/GLES31/
Dfunctional.program_interface_query.txt65 array_size, array_stride, atomic_counter_buffer_index, block_index,
/external/mesa3d/src/mesa/main/
Dshader_query.cpp490 if (RESOURCE_UNI(res)->array_stride > 0 && in _mesa_program_resource_array_size()
1402 RESOURCE_UNI(res)->array_stride > 0) in _mesa_program_resource_prop()
1435 *val = RESOURCE_UNI(res)->array_stride; in _mesa_program_resource_prop()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dscalar_replacement_test.cpp1079 OpName %func "array_stride" in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dscalar_replacement_test.cpp1079 OpName %func "array_stride" in TEST_F()
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/src/
Dgles31-master.txt16898 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
16899 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
16900 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
16901 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
16902 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
16903 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
16904 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
16905 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
16906 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
16907 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]
/external/angle/src/tests/deqp_support/
Des31cVertexAttribBindingTests_override.cpp1912 int array_stride; member in glcts::__anonce9152960111::VertexAttribState
1926 array_stride(0), in VertexAttribState()
1959 if (p != array_stride) in stateVerify()
1963 << p << " should be " << array_stride << tcu::TestLog::EndMessage; in stateVerify()
2290 va0.array_stride = 8; in Run()
/external/deqp/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp1897 int array_stride; member in glcts::__anonb57445620111::VertexAttribState
1911 , array_stride(0) in VertexAttribState()
1945 if (p != array_stride) in stateVerify()
1949 << array_stride << tcu::TestLog::EndMessage; in stateVerify()
2261 va0.array_stride = 8; in Run()
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles31-master.txt20165 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
20166 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
20167 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
20168 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
20169 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
20170 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
20171 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
20172 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
20173 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
20174 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]
/external/deqp/android/cts/master/
Dgles31-master-2020-03-01.txt20198 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
20199 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
20200 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
20201 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
20202 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
20203 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
20204 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
20205 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
20206 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
20207 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]

12