Lines Matching refs:tsc
463 so->tsc[0] = (0x00026000 | in nv50_sampler_state_create()
470 so->tsc[1] |= NVE4_TSC_1_CUBE_SEAMLESS; in nv50_sampler_state_create()
472 so->tsc[1] |= NVE4_TSC_1_FORCE_NONNORMALIZED_COORDS; in nv50_sampler_state_create()
477 so->tsc[1] |= NV50_TSC_1_MAGF_LINEAR; in nv50_sampler_state_create()
481 so->tsc[1] |= NV50_TSC_1_MAGF_NEAREST; in nv50_sampler_state_create()
487 so->tsc[1] |= NV50_TSC_1_MINF_LINEAR; in nv50_sampler_state_create()
491 so->tsc[1] |= NV50_TSC_1_MINF_NEAREST; in nv50_sampler_state_create()
497 so->tsc[1] |= NV50_TSC_1_MIPF_LINEAR; in nv50_sampler_state_create()
500 so->tsc[1] |= NV50_TSC_1_MIPF_NEAREST; in nv50_sampler_state_create()
504 so->tsc[1] |= NV50_TSC_1_MIPF_NONE; in nv50_sampler_state_create()
509 so->tsc[0] |= (7 << 20); in nv50_sampler_state_create()
512 so->tsc[0] |= (6 << 20); in nv50_sampler_state_create()
514 so->tsc[0] |= (cso->max_anisotropy >> 1) << 20; in nv50_sampler_state_create()
517 so->tsc[1] |= NV50_TSC_1_UNKN_ANISO_35; in nv50_sampler_state_create()
520 so->tsc[1] |= NV50_TSC_1_UNKN_ANISO_15; in nv50_sampler_state_create()
525 so->tsc[0] |= (1 << 9); in nv50_sampler_state_create()
526 so->tsc[0] |= (nvgl_comparison_op(cso->compare_func) & 0x7) << 10; in nv50_sampler_state_create()
530 so->tsc[1] |= ((int)(f[0] * 256.0f) & 0x1fff) << 12; in nv50_sampler_state_create()
534 so->tsc[2] |= in nv50_sampler_state_create()
537 so->tsc[4] = fui(cso->border_color.f[0]); in nv50_sampler_state_create()
538 so->tsc[5] = fui(cso->border_color.f[1]); in nv50_sampler_state_create()
539 so->tsc[6] = fui(cso->border_color.f[2]); in nv50_sampler_state_create()
540 so->tsc[7] = fui(cso->border_color.f[3]); in nv50_sampler_state_create()