Home
last modified time | relevance | path

Searched refs:indirect (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c40 unsigned *array_elements, nir_ssa_def **indirect, in calc_sampler_offsets() argument
53 indirect, b, location); in calc_sampler_offsets()
59 nir_ssa_for_src(b, deref_array->indirect, 1)); in calc_sampler_offsets()
61 nir_instr_rewrite_src(&instr->instr, &deref_array->indirect, in calc_sampler_offsets()
64 if (*indirect) { in calc_sampler_offsets()
65 *indirect = nir_iadd(b, *indirect, mul); in calc_sampler_offsets()
67 *indirect = mul; in calc_sampler_offsets()
79 indirect, b, location); in calc_sampler_offsets()
102 nir_ssa_def *indirect = NULL; in lower_sampler() local
106 &indirect, b, &location); in lower_sampler()
[all …]
Dnir_lower_locals_to_regs.c133 src.reg.indirect = NULL; in get_deref_reg_src()
156 if (src.reg.indirect) { in get_deref_reg_src()
163 mul->src[0].src = *src.reg.indirect; in get_deref_reg_src()
170 src.reg.indirect->is_ssa = true; in get_deref_reg_src()
171 src.reg.indirect->ssa = &mul->dest.dest.ssa; in get_deref_reg_src()
175 if (src.reg.indirect == NULL) { in get_deref_reg_src()
176 src.reg.indirect = ralloc(state->shader, nir_src); in get_deref_reg_src()
177 nir_src_copy(src.reg.indirect, &deref_array->indirect, in get_deref_reg_src()
182 add->src[0].src = *src.reg.indirect; in get_deref_reg_src()
183 nir_src_copy(&add->src[1].src, &deref_array->indirect, add); in get_deref_reg_src()
[all …]
Dnir_opt_constant_folding.c129 arr->indirect.is_ssa && in constant_fold_deref()
130 arr->indirect.ssa->parent_instr->type == nir_instr_type_load_const) { in constant_fold_deref()
131 nir_load_const_instr *indirect = in constant_fold_deref() local
132 nir_instr_as_load_const(arr->indirect.ssa->parent_instr); in constant_fold_deref()
134 arr->base_offset += indirect->value.u32[0]; in constant_fold_deref()
137 nir_instr_rewrite_src(instr, &arr->indirect, nir_src_for_ssa(NULL)); in constant_fold_deref()
/external/mesa3d/src/mesa/main/
Dcompute.c181 valid_dispatch_indirect(struct gl_context *ctx, GLintptr indirect) in valid_dispatch_indirect() argument
184 const uint64_t end = (uint64_t) indirect + size; in valid_dispatch_indirect()
195 if (indirect & (sizeof(GLuint) - 1)) { in valid_dispatch_indirect()
201 if (indirect < 0) { in valid_dispatch_indirect()
284 dispatch_compute_indirect(GLintptr indirect, bool no_error) in dispatch_compute_indirect() argument
291 _mesa_debug(ctx, "glDispatchComputeIndirect(%ld)\n", (long) indirect); in dispatch_compute_indirect()
293 if (!no_error && !valid_dispatch_indirect(ctx, indirect)) in dispatch_compute_indirect()
296 ctx->Driver.DispatchComputeIndirect(ctx, indirect); in dispatch_compute_indirect()
300 _mesa_DispatchComputeIndirect_no_error(GLintptr indirect) in _mesa_DispatchComputeIndirect_no_error() argument
302 dispatch_compute_indirect(indirect, true); in _mesa_DispatchComputeIndirect_no_error()
[all …]
Dapi_validate.h92 const GLvoid *indirect);
98 const GLvoid *indirect);
103 const GLvoid *indirect,
111 const GLvoid *indirect,
118 GLintptr indirect,
126 GLintptr indirect,
Dapi_validate.c1028 GLenum mode, const GLvoid *indirect, in valid_draw_indirect() argument
1031 const uint64_t end = (uint64_t) (uintptr_t) indirect + size; in valid_draw_indirect()
1090 if ((GLsizeiptr)indirect & (sizeof(GLuint) - 1)) { in valid_draw_indirect()
1126 GLenum mode, GLenum type, const GLvoid *indirect, in valid_draw_indirect_elements() argument
1144 return valid_draw_indirect(ctx, mode, indirect, size, name); in valid_draw_indirect_elements()
1181 const GLvoid *indirect) in _mesa_validate_DrawArraysIndirect() argument
1188 indirect, drawArraysNumParams * sizeof(GLuint), in _mesa_validate_DrawArraysIndirect()
1195 const GLvoid *indirect) in _mesa_validate_DrawElementsIndirect() argument
1202 indirect, drawElementsNumParams * sizeof(GLuint), in _mesa_validate_DrawElementsIndirect()
1209 const GLvoid *indirect, in _mesa_validate_MultiDrawArraysIndirect() argument
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c141 struct gl_buffer_object *indirect) in st_draw_vbo() argument
156 info.indirect = NULL; in st_draw_vbo()
197 assert(!indirect); in st_draw_vbo()
244 struct pipe_draw_indirect_info indirect; in st_indirect_draw_vbo() local
252 memset(&indirect, 0, sizeof(indirect)); in st_indirect_draw_vbo()
272 info.indirect = &indirect; in st_indirect_draw_vbo()
273 indirect.buffer = st_buffer_object(indirect_data)->buffer; in st_indirect_draw_vbo()
274 indirect.offset = indirect_offset; in st_indirect_draw_vbo()
287 indirect.draw_count = 1; in st_indirect_draw_vbo()
291 indirect.offset += stride; in st_indirect_draw_vbo()
[all …]
Dst_cb_compute.c40 struct pipe_resource *indirect, in st_dispatch_compute_common() argument
64 if (indirect) { in st_dispatch_compute_common()
65 info.indirect = indirect; in st_dispatch_compute_common()
82 struct pipe_resource *indirect = st_buffer_object(indirect_buffer)->buffer; in st_dispatch_compute_indirect() local
84 st_dispatch_compute_common(ctx, NULL, NULL, indirect, indirect_offset); in st_dispatch_compute_indirect()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c496 key.u.uses_instancing = info->indirect || info->instance_count > 1; in si_get_ia_multi_vgt_param()
498 info->indirect || in si_get_ia_multi_vgt_param()
520 (info->indirect || in si_get_ia_multi_vgt_param()
647 struct pipe_draw_indirect_info *indirect = info->indirect; in si_emit_draw_packets() local
728 if (indirect) { in si_emit_draw_packets()
729 uint64_t indirect_va = r600_resource(indirect->buffer)->gpu_address; in si_emit_draw_packets()
741 (struct r600_resource *)indirect->buffer, in si_emit_draw_packets()
747 assert(indirect->offset % 4 == 0); in si_emit_draw_packets()
762 radeon_emit(cs, indirect->offset); in si_emit_draw_packets()
769 if (indirect->indirect_draw_count) { in si_emit_draw_packets()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.structbuffer.rwbyte.frag.out25 0:9 indirect index (layout( row_major std430) buffer uint)
31 0:9 indirect index (layout( row_major std430) buffer uint)
48 0:10 indirect index (layout( row_major std430) buffer uint)
63 0:10 indirect index ( temp uint)
69 0:10 indirect index ( temp uint)
81 0:10 indirect index (layout( row_major std430) buffer uint)
99 0:10 indirect index ( temp uint)
105 0:10 indirect index ( temp uint)
124 0:11 indirect index (layout( row_major std430) buffer uint)
139 0:11 indirect index ( temp uint)
[all …]
Dhlsl.structbuffer.atomics.frag.out10 0:8 indirect index (layout( row_major std430) buffer uint)
25 0:9 indirect index (layout( row_major std430) buffer uint)
38 0:10 indirect index (layout( row_major std430) buffer uint)
53 0:11 indirect index (layout( row_major std430) buffer uint)
69 0:12 indirect index (layout( row_major std430) buffer uint)
86 0:14 indirect index (layout( row_major std430) buffer uint)
99 0:15 indirect index (layout( row_major std430) buffer uint)
114 0:16 indirect index (layout( row_major std430) buffer uint)
127 0:17 indirect index (layout( row_major std430) buffer uint)
142 0:18 indirect index (layout( row_major std430) buffer uint)
[all …]
D100Limits.vert.out293 0:47 indirect index ( temp lowp sampler2D)
296 0:48 indirect index ( temp highp float)
299 0:49 indirect index ( temp highp 3-component vector of float)
302 0:50 indirect index ( temp highp float)
305 0:51 indirect index ( smooth temp highp 4-component vector of float)
311 0:52 indirect index ( temp highp 2-component vector of float)
318 0:53 indirect index ( temp highp float)
327 0:54 indirect index ( temp highp int)
344 0:57 indirect index ( temp lowp sampler2D)
347 0:58 indirect index ( temp highp float)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCFIVerify.rst14 indirect control flow operations are protected by CFI, and should output these
33 indirect control flow instructions are identified.
39 implemented around all indirect control flows by analysing the output machine
44 Unprotected indirect control flow instructions will be flagged for manual
46 the compiler implementation of CFI (e.g. indirect jumps to facilitate switch
59 indirect function calls. This tool will also inspect indirect jumps, as inlined
64 The tool would operate by searching for indirect control flow instructions in
70 conditional jump target should be the CFI trap. If an indirect control flow
78 constructed, to ensure the register argument used by the indirect jump/call is
89 Suitable extensions may be made at a later date to include analysis for indirect
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
Dindirect_call_promotion.ll8 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func4 with count 1030 out of 1600
9 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func2 with count 410 out of 570
10 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func3 with count 150 out of 160
11 ; PASS-REMARK: remark: <unknown>:0:0: Promote indirect call to func1 with count 10 out of 10
13 ; PASS2-REMARK: remark: <unknown>:0:0: Promote indirect call to func4 with count 1030 out of 1600
14 ; PASS2-REMARK: remark: <unknown>:0:0: Promote indirect call to func2 with count 410 out of 570
15 ; PASS2-REMARK-NOT: remark: <unknown>:0:0: Promote indirect call to func3
16 ; PASS2-REMARK-NOT: remark: <unknown>:0:0: Promote indirect call to func1
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Dglobal-expression.ll2 ; RUN: llvm-dwarfdump --name i --name indirect - | FileCheck %s
6 ; int *indirect = &i;
12 ; CHECK: DW_AT_name ("indirect")
20 @indirect = global i32* @i, align 8, !dbg !6, !dbg !0, !dbg !14, !dbg !15, !dbg !16
32 !7 = distinct !DIGlobalVariable(name: "indirect", scope: !2, file: !3, line: 2, type: !8, isLocal: …
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c1566 GLenum mode, const GLvoid *indirect) in vbo_validated_drawarraysindirect() argument
1573 ctx->DrawIndirectBuffer, (GLsizeiptr) indirect, in vbo_validated_drawarraysindirect()
1585 const GLvoid *indirect, in vbo_validated_multidrawarraysindirect() argument
1589 GLsizeiptr offset = (GLsizeiptr) indirect; in vbo_validated_multidrawarraysindirect()
1607 const GLvoid *indirect) in vbo_validated_drawelementsindirect() argument
1620 ctx->DrawIndirectBuffer, (GLsizeiptr) indirect, in vbo_validated_drawelementsindirect()
1632 const GLvoid *indirect, in vbo_validated_multidrawelementsindirect() argument
1637 GLsizeiptr offset = (GLsizeiptr) indirect; in vbo_validated_multidrawelementsindirect()
1665 vbo_exec_DrawArraysIndirect(GLenum mode, const GLvoid *indirect) in vbo_exec_DrawArraysIndirect() argument
1671 _mesa_enum_to_string(mode), indirect); in vbo_exec_DrawArraysIndirect()
[all …]
Dvbo_primitive_restart.c167 struct gl_buffer_object *indirect) in vbo_sw_primitive_restart() argument
186 if (indirect && prims[0].is_indirect) { in vbo_sw_primitive_restart()
188 if (!ctx->Driver.MapBufferRange(ctx, 0, indirect->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart()
189 indirect, MAP_INTERNAL)) { in vbo_sw_primitive_restart()
200 ADD_POINTERS(indirect->Mappings[MAP_INTERNAL].Pointer, in vbo_sw_primitive_restart()
216 ctx->Driver.UnmapBuffer(ctx, indirect, MAP_INTERNAL); in vbo_sw_primitive_restart()
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/
Dpath.go131 case *indirect:
135 case *indirect:
199 indirect struct { struct
238 func (in indirect) String() string { return "*" } argument
259 func (indirect) isIndirect() {} argument
267 _ Indirect = indirect{}
274 _ PathStep = indirect{}
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.cpp84 bool indirect = false; in extractValue() local
90 indirect = false; in extractValue()
148 indirect = true; in extractValue()
153 } while (indirect); in extractValue()
176 bool indirect = false; in skipValue() local
178 indirect = false; in skipValue()
249 indirect = true; in skipValue()
255 } while (indirect); in skipValue()
/external/swiftshader/third_party/subzero/tests_lit/parse_errs/
Dindirect-call-on-float.test1 ; Tests that we check the call address is a pointer on an indirect call.
6 ; RUN: %p/Inputs/indirect-call-on-float.tbc \
10 ; CHECK: Call indirect address not i32. Found: float
13 ; RUN: %p/Inputs/indirect-call-on-float.tbc -output - \
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.h93 if (info->indirect) { in fd5_draw_emit()
94 struct fd_resource *ind = fd_resource(info->indirect->buffer); in fd5_draw_emit()
100 unsigned max_indicies = (idx->width0 - info->indirect->offset) / in fd5_draw_emit()
110 OUT_RELOC(ring, ind->bo, info->indirect->offset, 0, 0); in fd5_draw_emit()
115 OUT_RELOC(ring, ind->bo, info->indirect->offset, 0, 0); in fd5_draw_emit()
/external/e2fsprogs/tests/f_itable_collision/
Dexpect.117 Illegal indirect block (4294967295) in inode 14. CLEARED.
18 Illegal indirect block (4294967295) in inode 14. CLEARED.
19 Illegal indirect block (4294967295) in inode 14. CLEARED.
20 Illegal indirect block (4294967295) in inode 14. CLEARED.
21 Illegal indirect block (4294967295) in inode 14. CLEARED.
22 Illegal indirect block (4294967295) in inode 14. CLEARED.
23 Illegal indirect block (4294967295) in inode 14. CLEARED.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/indirect-jump-hazard/
Dunsupported-mips32.ll1 ; RUN: not llc -mtriple=mips-unknown-linux -mcpu=mips32 -mattr=+use-indirect-jump-hazard %s 2>&1 | …
3 ; Test that mips32 and indirect jump with hazard barriers is not supported.
5 ; CHECK: LLVM ERROR: indirect jumps with hazard barriers requires MIPS32R2 or later
Dunsupported-micromips.ll1 ; RUN: not llc -mtriple=mips-unknown-linux -mcpu=mips32r2 -mattr=+micromips,+use-indirect-jump-haza…
3 ; Test that microMIPS and indirect jump with hazard barriers is not supported.
5 ; CHECK: LLVM ERROR: cannot combine indirect jumps with hazard barriers and microMIPS
/external/mesa3d/src/glx/apple/
DRELEASE_NOTES62 The X server supports indirect fairly well, so OpenGL applications
66 AppleSGLX does not support indirect rendering. Any indirect context
67 created will appear to glXIsDirect as an indirect context, but it
68 does not actually support indirect rendering to a remote X server.
70 AppleSGLX supports GLXPixmaps and GLXPbuffers with direct and indirect

12345678910>>...43