Home
last modified time | relevance | path

Searched refs:tex_int (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_tex.c35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) in nv50_tic_swizzle() argument
47 return tex_int ? NV50_TIC_MAP_ONE_INT : NV50_TIC_MAP_ONE_FLOAT; in nv50_tic_swizzle()
84 boolean tex_int; in nv50_create_sampler_view() local
107 tex_int = util_format_is_pure_integer(view->pipe.format); in nv50_create_sampler_view()
109 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int); in nv50_create_sampler_view()
110 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int); in nv50_create_sampler_view()
111 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int); in nv50_create_sampler_view()
112 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int); in nv50_create_sampler_view()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_tex.c37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int) in nv50_tic_swizzle() argument
49 return tex_int ? NV50_TIC_MAP_ONE_INT : NV50_TIC_MAP_ONE_FLOAT; in nv50_tic_swizzle()
68 boolean tex_int; in nvc0_create_sampler_view() local
90 tex_int = util_format_is_pure_integer(view->pipe.format); in nvc0_create_sampler_view()
92 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int); in nvc0_create_sampler_view()
93 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int); in nvc0_create_sampler_view()
94 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int); in nvc0_create_sampler_view()
95 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int); in nvc0_create_sampler_view()