Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcombine_access_chains.cpp77 uint32_t array_stride = 0; in GetArrayStride() local
80 [&array_stride](const Instruction& decoration) { in GetArrayStride()
83 array_stride = decoration.GetSingleWordInOperand(1); in GetArrayStride()
85 array_stride = decoration.GetSingleWordInOperand(2); in GetArrayStride()
89 return array_stride; in GetArrayStride()
239 uint32_t array_stride = GetArrayStride(ptr_input); in CombineAccessChain() local
240 if (array_stride != 0) return false; in CombineAccessChain()
/third_party/spirv-tools/source/opt/
Dcombine_access_chains.cpp77 uint32_t array_stride = 0; in GetArrayStride() local
80 [&array_stride](const Instruction& decoration) { in GetArrayStride()
83 array_stride = decoration.GetSingleWordInOperand(1); in GetArrayStride()
85 array_stride = decoration.GetSingleWordInOperand(2); in GetArrayStride()
89 return array_stride; in GetArrayStride()
239 uint32_t array_stride = GetArrayStride(ptr_input); in CombineAccessChain() local
240 if (array_stride != 0) return false; in CombineAccessChain()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcombine_access_chains.cpp77 uint32_t array_stride = 0; in GetArrayStride() local
80 [&array_stride](const Instruction& decoration) { in GetArrayStride()
83 array_stride = decoration.GetSingleWordInOperand(1); in GetArrayStride()
85 array_stride = decoration.GetSingleWordInOperand(2); in GetArrayStride()
89 return array_stride; in GetArrayStride()
239 uint32_t array_stride = GetArrayStride(ptr_input); in CombineAccessChain() local
240 if (array_stride != 0) return false; in CombineAccessChain()
/third_party/mesa3d/src/compiler/glsl/
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()
Dir_uniform.h165 int array_stride; member
Dgl_nir_link_atomics.c241 storage->array_stride = glsl_atomic_size(without_array); in gl_nir_link_assign_atomic_counter_resources()
243 storage->array_stride = 0; in gl_nir_link_assign_atomic_counter_resources()
/third_party/mesa3d/src/panfrost/lib/
Dpan_layout.c223 return layout->array_stride; in panfrost_get_layer_stride()
274 (array_idx * layout->array_stride) + in panfrost_texture_offset()
463 layout->array_stride = ALIGN_POT(offset, 64); in pan_image_layout_init()
467 layout->data_size = ALIGN_POT(layout->array_stride * layout->array_size, 4096); in pan_image_layout_init()
Dpan_texture.h118 unsigned array_stride; member
/third_party/vk-gl-cts/external/amber/src/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()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h260 unsigned array_stride; member
286 return rsrc->slices[level].offset + (z * rsrc->array_stride); in agx_texture_offset()
Dagx_pipe.c197 nresource->array_stride = ALIGN_POT(offset, 0x4000); in agx_resource_create()
198 unsigned size = nresource->array_stride * templ->array_size * templ->depth0; in agx_resource_create()
326 transfer->base.layer_stride = rsrc->array_stride; in agx_transfer_map()
/third_party/skia/third_party/externals/tint/src/transform/
Darray_length_from_uniform.cc193 uint32_t array_stride = array_member_sem->Size(); in Run() local
196 array_stride); in Run()
Dcalculate_array_length.cc212 uint32_t array_stride = array_member_sem->Size(); in Run() local
218 array_stride))); in Run()
Dvertex_pulling.h103 uint32_t array_stride = 0u; member
Dvertex_pulling.cc291 if ((buffer_layout.array_stride & 3) != 0) { in CreateVertexPullingPreamble()
297 std::to_string(buffer_layout.array_stride) + " bytes"); in CreateVertexPullingPreamble()
311 if (buffer_layout.array_stride != 4) { in CreateVertexPullingPreamble()
313 ctx.dst->Mul(index_expr, buffer_layout.array_stride / 4u); in CreateVertexPullingPreamble()
951 : array_stride(in_array_stride), in VertexBufferLayoutDescriptor()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c93 uint32_t array_stride = 0; in emit_mrt() local
119 array_stride = fd_resource_layer_stride(rsc, psurf->u.tex.level); in emit_mrt()
131 A6XX_RB_MRT_ARRAY_PITCH(i, .a6xx_rb_mrt_array_pitch = array_stride), in emit_mrt()
164 uint32_t array_stride = fd_resource_layer_stride(rsc, zsbuf->u.tex.level); in emit_zs() local
173 array_stride), in emit_zs()
206 array_stride = fd_resource_layer_stride(rsc->stencil, zsbuf->u.tex.level); in emit_zs()
215 .a6xx_rb_stencil_buffer_array_pitch = array_stride), in emit_zs()
1007 uint32_t array_stride = fd_resource_layer_stride(rsc, psurf->u.tex.level); in emit_blit() local
1017 A6XX_RB_BLIT_DST_ARRAY_PITCH(.a6xx_rb_blit_dst_array_pitch = array_stride)); in emit_blit()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c248 image->pimage.layout.array_stride); in panvk_GetImageSubresourceLayout()
251 pLayout->arrayPitch = image->pimage.layout.array_stride; in panvk_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp536 uint32_t array_stride = 0; in checkLayout() local
539 array_stride = decoration.params()[0]; in checkLayout()
540 if (array_stride == 0) { in checkLayout()
543 if (!IsAlignedTo(array_stride, array_alignment)) in checkLayout()
565 uint32_t next_offset = i * array_stride + offset; in checkLayout()
590 if (element_size > array_stride) { in checkLayout()
592 << "contains an array with stride " << array_stride in checkLayout()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp536 uint32_t array_stride = 0; in checkLayout() local
539 array_stride = decoration.params()[0]; in checkLayout()
540 if (array_stride == 0) { in checkLayout()
543 if (!IsAlignedTo(array_stride, array_alignment)) in checkLayout()
565 uint32_t next_offset = i * array_stride + offset; in checkLayout()
590 if (element_size > array_stride) { in checkLayout()
592 << "contains an array with stride " << array_stride in checkLayout()
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles32-master.txt9594 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.float
9595 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.int
9596 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uint
9597 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bool
9598 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec3
9599 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.vec4
9600 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.ivec3
9601 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.uvec3
9602 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.bvec3
9603 dEQP-GLES31.functional.program_interface_query.uniform.array_stride.default_block.types.mat2
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp574 uint32_t array_stride = 0; in checkLayout() local
577 array_stride = decoration.params()[0]; in checkLayout()
578 if (array_stride == 0) { in checkLayout()
581 if (!IsAlignedTo(array_stride, array_alignment)) in checkLayout()
603 uint32_t next_offset = i * array_stride + offset; in checkLayout()
628 if (element_size > array_stride) { in checkLayout()
630 << "contains an array with stride " << array_stride in checkLayout()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc979 uint32_t array_stride = 0; in ConvertType() local
980 if (!ParseArrayDecorations(rtarr_ty, &array_stride)) { in ConvertType()
983 const Type* result = ty_.Array(ast_elem_ty, 0, array_stride); in ConvertType()
1028 uint32_t array_stride = 0; in ConvertType() local
1029 if (!ParseArrayDecorations(arr_ty, &array_stride)) { in ConvertType()
1036 ty_.Array(ast_elem_ty, static_cast<uint32_t>(num_elem), array_stride); in ConvertType()
1042 uint32_t* array_stride) { in ParseArrayDecorations() argument
1044 *array_stride = 0; // Implicit stride case. in ParseArrayDecorations()
1058 *array_stride = stride; in ParseArrayDecorations()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp3754 subchain.dynamic_index = join(ident, " * ", chain.array_stride, " + ", chain.dynamic_index); in read_access_chain_array()
3757 subchain.array_stride = get_decoration(subchain.basetype, DecorationArrayStride); in read_access_chain_array()
3775 subchain.array_stride = 0; in read_access_chain_struct()
3786 subchain.array_stride = type_struct_member_array_stride(type, i); in read_access_chain_struct()
4051 subchain.dynamic_index = join(ident, " * ", chain.array_stride, " + ", chain.dynamic_index); in write_access_chain_array()
4059 subchain.array_stride = get_decoration(subchain.basetype, DecorationArrayStride); in write_access_chain_array()
4082 subchain.array_stride = 0; in write_access_chain_struct()
4093 subchain.array_stride = type_struct_member_array_stride(type, i); in write_access_chain_struct()
4356 uint32_t array_stride = 0; in emit_access_chain() local
4364 array_stride = chain->array_stride; in emit_access_chain()
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/
Dtransform_builder.h201 desc.array_stride = b->build<uint32_t>();
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp327 unsigned array_stride = 1; in r600_lower_deref_instr() local
329 array_stride *= glsl_get_aoa_size(d->type); in r600_lower_deref_instr()
332 nir_imm_int(b, array_stride))); in r600_lower_deref_instr()

123