| /xsrc/external/mit/MesaLib/dist/src/glx/apple/ |
| apple_glx_context.c | 101 is_context_valid(struct apple_glx_context *ac) 108 if (ac == i) { 130 struct apple_glx_context *ac; local 136 ac = malloc(sizeof *ac); 138 if (NULL == ac) { 147 free(ac); 151 ac->context_obj = NULL; 152 ac->pixel_format_obj = NULL; 153 ac->drawable = NULL 214 struct apple_glx_context *ac = *ptr; local 288 struct apple_glx_context *ac = ptr; local 470 struct apple_glx_context *ac = ptr; local 531 struct apple_glx_context *ac; local 561 struct apple_glx_context *ac = ptr; local 615 struct apple_glx_context *ac = ptr; local [all...] |
| apple_glx.c | 131 struct apple_glx_context *ac = ptr; local 133 apple_cgl.flush_drawable(ac->context_obj); 139 struct apple_private_context *ac = ptr; local 141 (void) ac;
|
| apple_glx_surface.c | 35 static bool surface_make_current(struct apple_glx_context *ac, 60 surface_make_current(struct apple_glx_context *ac, 68 apple_glx_diagnostic("%s: ac->context_obj %p s->surface_id %u\n", 69 __func__, (void *) ac->context_obj, s->surface_id); 71 error = xp_attach_gl_context(ac->context_obj, s->surface_id); 79 if (!ac->made_current) { 84 update_viewport_and_scissor(ac->drawable->display, 85 ac->drawable->drawable); 86 ac->made_current = true;
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/apple/ |
| apple_glx_context.c | 101 is_context_valid(struct apple_glx_context *ac) 108 if (ac == i) { 130 struct apple_glx_context *ac; local 136 ac = malloc(sizeof *ac); 138 if (NULL == ac) { 147 free(ac); 151 ac->context_obj = NULL; 152 ac->pixel_format_obj = NULL; 153 ac->drawable = NULL 215 struct apple_glx_context *ac = *ptr; local 289 struct apple_glx_context *ac = ptr; local 471 struct apple_glx_context *ac = ptr; local 532 struct apple_glx_context *ac; local 562 struct apple_glx_context *ac = ptr; local 616 struct apple_glx_context *ac = ptr; local [all...] |
| apple_glx.c | 131 struct apple_glx_context *ac = ptr; local 133 apple_cgl.flush_drawable(ac->context_obj); 139 struct apple_private_context *ac = ptr; local 141 (void) ac;
|
| apple_glx_surface.c | 35 static bool surface_make_current(struct apple_glx_context *ac, 60 surface_make_current(struct apple_glx_context *ac, 68 apple_glx_diagnostic("%s: ac->context_obj %p s->surface_id %u\n", 69 __func__, (void *) ac->context_obj, s->surface_id); 71 error = xp_attach_gl_context(ac->context_obj, s->surface_id); 79 if (!ac->made_current) { 84 update_viewport_and_scissor(ac->drawable->display, 85 ac->drawable->drawable); 86 ac->made_current = true;
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_shader_args.c | 263 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, &args->descriptor_sets[i]); 266 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR_PTR, &args->descriptor_sets[0]); 271 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_PTR, &args->ac.push_constants); 275 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.inline_push_consts[i]); 277 args->ac.base_inline_push_consts = args->shader_info->min_push_constant_used / 4; 280 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &args->streamout_buffers); 289 ac_add_arg(&args->ac, AC_ARG_SGPR, 2, AC_ARG_INT, &args->prolog_inputs); 294 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_CONST_DESC_PTR, &args->ac.vertex_buffers) [all...] |
| radv_nir_to_llvm.c | 44 struct ac_llvm_context ac; member in struct:radv_shader_context 118 LLVMValueRef desc_sets = ac_get_arg(&ctx->ac, ctx->args->descriptor_sets[0]); 123 ac_build_load_to_sgpr(&ctx->ac, desc_sets, LLVMConstInt(ctx->ac.i32, i, false)); 130 ctx->descriptor_sets[i] = ac_get_arg(&ctx->ac, ctx->args->descriptor_sets[i]); 170 if (ctx->ac.chip_class >= GFX10) { 179 create_llvm_function(&ctx->ac, ctx->ac.module, ctx->ac.builder, &ctx->args->ac, [all...] |
| radv_shader_args.h | 32 struct ac_shader_args ac; member in struct:radv_shader_args 58 return container_of(args, struct radv_shader_args, ac);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_nir_to_llvm.c | 39 struct ac_llvm_context ac; member in struct:ac_nir_context 77 LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, def->bit_size); 93 LLVMValueRef lds_i8 = ctx->ac.lds; 95 lds_i8 = LLVMBuildBitCast(ctx->ac.builder, ctx->ac.lds, LLVMPointerType(ctx->ac.i8, AC_ADDR_SPACE_LDS), ""); 97 ptr = LLVMBuildAdd(ctx->ac.builder, ptr, LLVMConstInt(ctx->ac.i32, c_off, 0), ""); 98 ptr = LLVMBuildGEP(ctx->ac.builder, lds_i8, &ptr, 1, ""); 101 LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, bit_size) [all...] |
| ac_nir_to_llvm.h | 52 void ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi, 59 void ac_emit_barrier(struct ac_llvm_context *ac, gl_shader_stage stage);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_shader_llvm_resources.c | 36 LLVMBuilderRef builder = ctx->ac.builder; 37 LLVMValueRef c_max = LLVMConstInt(ctx->ac.i32, num - 1, 0); 58 LLVMValueRef ptr = ac_get_arg(&ctx->ac, ctx->const_and_shader_buffers); 66 ptr = LLVMBuildPtrToInt(ctx->ac.builder, ptr, ctx->ac.intptr, ""); 70 desc1 = LLVMConstInt(ctx->ac.i32, S_008F04_BASE_ADDRESS_HI(ctx->screen->info.address32_hi), 0); 83 LLVMConstInt(ctx->ac.i32, sel->info.constbuf0_num_slots * 16, 0), 84 LLVMConstInt(ctx->ac.i32, rsrc3, false)}; 86 return ac_build_gather_values(&ctx->ac, desc_elems, 4); 96 LLVMValueRef ptr = ac_get_arg(&ctx->ac, ctx->const_and_shader_buffers) [all...] |
| gfx10_shader_ngg.c | 43 LLVMBuilderRef builder = ctx->ac.builder; 46 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""); 47 return LLVMBuildAdd(builder, tmp, ac_get_thread_id(&ctx->ac), ""); 67 LLVMValueRef buf_ptr = ac_get_arg(&ctx->ac, ctx->internal_bindings); 69 return ac_build_load_to_sgpr(&ctx->ac, buf_ptr, 70 LLVMConstInt(ctx->ac.i32, GFX10_GS_QUERY_BUF, false)); 85 return LLVMConstInt(ctx->ac.i32, 3, 0); 88 return LLVMConstInt(ctx->ac.i32, 2, 0); 98 return LLVMBuildAdd(ctx->ac.builder, num, ctx->ac.i32_1, "") [all...] |
| si_shader_llvm_vs.c | 36 return LLVMBuildAShr(ctx->ac.builder, i32, LLVMConstInt(ctx->ac.i32, 16, 0), ""); 38 return LLVMBuildSExt(ctx->ac.builder, LLVMBuildTrunc(ctx->ac.builder, i32, ctx->ac.i16, ""), 39 ctx->ac.i32, ""); 50 LLVMBuildICmp(ctx->ac.builder, LLVMIntULE, vertex_id, ctx->ac.i32_1, ""); 54 LLVMValueRef sel_y1 = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, vertex_id, ctx->ac.i32_1, "") [all...] |
| si_shader_llvm_tess.c | 36 return ac_get_arg(&ctx->ac, ctx->args.tes_rel_patch_id); 84 return LLVMConstInt(ctx->ac.i32, stride, 0); 97 return LLVMConstInt(ctx->ac.i32, patch_dw_stride, 0); 102 return LLVMBuildMul(ctx->ac.builder, si_unpack_param(ctx, ctx->tcs_out_lds_offsets, 0, 16), 103 LLVMConstInt(ctx->ac.i32, 4, 0), ""); 108 return LLVMBuildMul(ctx->ac.builder, si_unpack_param(ctx, ctx->tcs_out_lds_offsets, 16, 16), 109 LLVMConstInt(ctx->ac.i32, 4, 0), ""); 117 return LLVMBuildMul(ctx->ac.builder, patch_stride, rel_patch_id, ""); 126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); 135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset) [all...] |
| si_shader_llvm_gs.c | 33 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), 40 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), 65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); 67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); 68 LLVMValueRef value = LLVMBuildLoad(ctx->ac.builder, ptr, ""); 69 return LLVMBuildBitCast(ctx->ac.builder, value, type, ""); 74 LLVMValueRef gs_vtx_offset = ac_get_arg(&ctx->ac, ctx->args.gs_vtx_offset[vtx_offset_param]) [all...] |
| si_shader_llvm_ps.c | 37 return ac_to_integer(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args.sample_coverage)); 43 LLVMValueRef desc = ac_get_arg(&ctx->ac, ctx->internal_bindings); 44 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); 45 LLVMValueRef resource = ac_build_load_to_sgpr(&ctx->ac, desc, buf_index); 49 LLVMBuildMul(ctx->ac.builder, sample_id, LLVMConstInt(ctx->ac.i32, 8, 0), ""); 51 LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->ac.i32, 4, 0), ""); 55 LLVMConstReal(ctx->ac.f32, 0), LLVMConstReal(ctx->ac.f32, 0)} [all...] |
| si_shader_llvm.c | 73 struct ac_llvm_context *ac, struct pipe_debug_callback *debug, 83 ac_dump_module(ac->module); 89 char *ir = LLVMPrintModuleToString(ac->module); 101 LLVMContextSetDiagnosticHandler(ac->context, si_diagnostic_handler, &diag); 103 if (!ac_compile_module_to_elf(passes, ac->module, (char **)&binary->elf_buffer, 117 .wave_size = ac->wave_size, 135 ac_llvm_context_init(&ctx->ac, compiler, sscreen->info.chip_class, sscreen->info.family, 146 ret_type = LLVMStructTypeInContext(ctx->ac.context, return_types, num_return_elems, true); 148 ret_type = ctx->ac.voidt; 183 ctx->main_fn = ac_build_main(&ctx->args, &ctx->ac, call_conv, name, ret_type, ctx->ac.module) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_nir_to_llvm.c | 37 struct ac_llvm_context ac; member in struct:ac_nir_context 64 build_store_values_extended(struct ac_llvm_context *ac, 70 LLVMBuilderRef builder = ac->builder; 75 LLVMValueRef index = LLVMConstInt(ac->i32, i, false); 125 LLVMTypeRef type = LLVMIntTypeInContext(ctx->ac.context, def->bit_size); 142 ptr = LLVMBuildGEP(ctx->ac.builder, ctx->ac.lds, &ptr, 1, ""); 145 return LLVMBuildBitCast(ctx->ac.builder, ptr, 146 LLVMPointerType(ctx->ac.i32, addr_space), ""); 173 LLVMConstInt(ctx->ac.i32, src.swizzle[0], false) [all...] |
| ac_nir_to_llvm.h | 52 void ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi, 62 void ac_emit_barrier(struct ac_llvm_context *ac, gl_shader_stage stage);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| radv_nir_to_llvm.c | 50 struct ac_llvm_context ac; member in struct:radv_shader_context 148 current_block = LLVMGetInsertBlock(ctx->ac.builder); 169 LLVMBasicBlockRef block = LLVMGetInsertBlock(ctx->ac.builder); 186 LLVMPositionBuilderAtEnd(ctx->ac.builder, ifthen->true_block); 195 LLVMBuilderRef builder = ifthen->ctx->ac.builder; 226 return ac_unpack_param(&ctx->ac, ctx->abi.tcs_rel_ids, 0, 8); 344 return LLVMConstInt(ctx->ac.i32, input_patch_size, false); 356 return LLVMConstInt(ctx->ac.i32, output_patch_size, false); 365 return LLVMConstInt(ctx->ac.i32, output_vertex_size, false); 379 return LLVMConstInt(ctx->ac.i32, output_patch0_offset, false) [all...] |
| /xsrc/external/mit/fontconfig/dist/fc-lang/ |
| ab.orth | 39 04ac-04ad
|
| /xsrc/external/mit/xorg-server/dist/render/ |
| animcur.c | 113 AnimCurPtr ac = GetAnimCur(pCursor); local 115 (*pScreen->CursorLimits) (pDev, pScreen, ac->elts[0].pCursor, 136 AnimCurPtr ac = GetAnimCur(dev->spriteInfo->sprite->current); local 137 int elt = (dev->spriteInfo->anim.elt + 1) % ac->nelt; 145 (void) (*pScreen->DisplayCursor) (dev, pScreen, ac->elts[elt].pCursor); 150 dev->spriteInfo->anim.pCursor = ac->elts[elt].pCursor; 152 return ac->elts[elt].delay; 177 AnimCurPtr ac = GetAnimCur(pCursor); local 181 ac->elts[0].pCursor); 188 ac->timer = TimerSet(ac->timer, 0, ac->elts[0].delay 242 AnimCurPtr ac = GetAnimCur(pCursor); local 264 AnimCurPtr ac = GetAnimCur(pCursor); local 305 AnimCurPtr ac; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_shader_tgsi_alu.c | 31 LLVMBuilderRef builder = ctx->ac.builder; 35 ac_build_kill_if_false(&ctx->ac, 36 ac_build_wqm_vote(&ctx->ac, visible)); 44 ac_build_kill_if_false(&ctx->ac, visible); 57 LLVMBuilderRef builder = ctx->ac.builder; 65 ctx->ac.f32_0, ""); 107 LLVMValueRef v = LLVMBuildICmp(ctx->ac.builder, pred, 110 v = LLVMBuildSExtOrBitCast(ctx->ac.builder, v, ctx->i32, ""); 120 LLVMValueRef arg0 = ac_to_integer(&ctx->ac, emit_data->args[0]); 122 LLVMValueRef v = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, arg0 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/render/ |
| animcur.c | 123 AnimCurPtr ac = GetAnimCur(pCursor); local 125 (*pScreen->CursorLimits) (pDev, pScreen, ac->elts[0].pCursor, 166 AnimCurPtr ac = GetAnimCur(dev->spriteInfo->anim.pCursor); local 167 int elt = (dev->spriteInfo->anim.elt + 1) % ac->nelt; 179 ac->elts[elt].pCursor); 184 dev->spriteInfo->anim.time = now + ac->elts[elt].delay; 216 AnimCurPtr ac = GetAnimCur(pCursor); local 219 (pDev, pScreen, ac->elts[0].pCursor); 223 pDev->spriteInfo->anim.time = GetTimeInMillis () + ac->elts[0].delay; 294 AnimCurPtr ac = GetAnimCur(pCursor) local 319 AnimCurPtr ac = GetAnimCur(pCursor); local 362 AnimCurPtr ac; local [all...] |