Searched refs:vp_scale (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_cull.h58 LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2],
H A Dac_llvm_cull.c119 LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2],
183 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]);
184 max = ac_build_fmad(ctx, bbox_max[chan], vp_scale[chan], vp_translate[chan]);
191 * It also works for MSAA, but vp_scale, vp_translate,
219 * \param vp_scale Viewport scale XY.
231 LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2],
250 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, options,
117 cull_bbox(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,struct ac_position_w_info * w,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
230 ac_cull_primitive(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_cull.c103 nir_ssa_def *vp_scale[2] = { nir_build_load_viewport_x_scale(b), nir_build_load_viewport_y_scale(b), }; local in function:cull_bbox
124 nir_ssa_def *min = nir_ffma(b, bbox_min[chan], vp_scale[chan], vp_translate[chan]);
125 nir_ssa_def *max = nir_ffma(b, bbox_max[chan], vp_scale[chan], vp_translate[chan]);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vertex.c432 vtx->vp_scale[0] = a->vp[MAT_SX];
433 vtx->vp_scale[1] = a->vp[MAT_SY];
434 vtx->vp_scale[2] = a->vp[MAT_SZ];
435 vtx->vp_scale[3] = 1.0;
H A Dt_context.h377 GLfloat vp_scale[4]; member in struct:tnl_clipspace
H A Dt_vertex_sse.c388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0])));
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vertex.c433 vtx->vp_scale[0] = a->vp[MAT_SX];
434 vtx->vp_scale[1] = a->vp[MAT_SY];
435 vtx->vp_scale[2] = a->vp[MAT_SZ];
436 vtx->vp_scale[3] = 1.0;
H A Dt_context.h377 GLfloat vp_scale[4]; member in struct:tnl_clipspace
H A Dt_vertex_sse.c388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0])));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dgfx10_shader_ngg.c977 LLVMValueRef vp_scale[2], vp_translate[2]; local in function:gfx10_emit_ngg_culling_epilogue
978 vp_scale[0] = ac_llvm_extract_elem(&ctx->ac, vp, 0);
979 vp_scale[1] = ac_llvm_extract_elem(&ctx->ac, vp, 1);
1014 ac_cull_primitive(&ctx->ac, pos, ctx->ac.i1true, vp_scale, vp_translate,
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_cmd_buffer.c6462 float vp_scale[2], vp_translate[2]; local in function:radv_emit_ngg_culling_state
6463 memcpy(vp_scale, cmd_buffer->state.dynamic.viewport.xform[0].scale, 2 * sizeof(float));
6465 bool vp_y_inverted = (-vp_scale[1] + vp_translate[1]) > (vp_scale[1] + vp_translate[1]);
6480 vp_scale[1] = -vp_scale[1];
6486 vp_scale[i] *= (float) pipeline->graphics.ms.num_samples;
6490 uint32_t vp_reg_values[4] = {fui(vp_scale[0]), fui(vp_scale[1]), fui(vp_translate[0]), fui(vp_translate[1])};

Completed in 24 milliseconds