Home
last modified time | relevance | path

Searched refs:vp_scale (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/llvm/
Dac_llvm_cull.c119 LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2], in cull_bbox()
183 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
184 max = ac_build_fmad(ctx, bbox_max[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
231 LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2], in ac_cull_primitive()
250 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, options, in ac_cull_primitive()
Dac_llvm_cull.h58 LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2],
/third_party/mesa3d/src/amd/common/
Dac_nir_cull.c103 …nir_ssa_def *vp_scale[2] = { nir_build_load_viewport_x_scale(b), nir_build_load_viewport_y_scale(b… in cull_bbox() local
124 nir_ssa_def *min = nir_ffma(b, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
125 nir_ssa_def *max = nir_ffma(b, bbox_max[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
/third_party/mesa3d/src/mesa/tnl/
Dt_vertex.c433 vtx->vp_scale[0] = a->vp[MAT_SX]; in update_input_ptrs()
434 vtx->vp_scale[1] = a->vp[MAT_SY]; in update_input_ptrs()
435 vtx->vp_scale[2] = a->vp[MAT_SZ]; in update_input_ptrs()
436 vtx->vp_scale[3] = 1.0; in update_input_ptrs()
Dt_context.h377 GLfloat vp_scale[4]; member
Dt_vertex_sse.c388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); in build_vertex_emit()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c977 LLVMValueRef vp_scale[2], vp_translate[2]; in gfx10_emit_ngg_culling_epilogue() local
978 vp_scale[0] = ac_llvm_extract_elem(&ctx->ac, vp, 0); in gfx10_emit_ngg_culling_epilogue()
979 vp_scale[1] = ac_llvm_extract_elem(&ctx->ac, vp, 1); in gfx10_emit_ngg_culling_epilogue()
1014 ac_cull_primitive(&ctx->ac, pos, ctx->ac.i1true, vp_scale, vp_translate, in gfx10_emit_ngg_culling_epilogue()
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c6457 float vp_scale[2], vp_translate[2]; in radv_emit_ngg_culling_state() local
6458 memcpy(vp_scale, cmd_buffer->state.dynamic.viewport.xform[0].scale, 2 * sizeof(float)); in radv_emit_ngg_culling_state()
6460 bool vp_y_inverted = (-vp_scale[1] + vp_translate[1]) > (vp_scale[1] + vp_translate[1]); in radv_emit_ngg_culling_state()
6475 vp_scale[1] = -vp_scale[1]; in radv_emit_ngg_culling_state()
6481 vp_scale[i] *= (float) pipeline->graphics.ms.num_samples; in radv_emit_ngg_culling_state()
6485 …uint32_t vp_reg_values[4] = {fui(vp_scale[0]), fui(vp_scale[1]), fui(vp_translate[0]), fui(vp_tran… in radv_emit_ngg_culling_state()