Lines Matching refs:uv
424 float uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
427 float pixelUV = uv * (float)(sourceW); in sample_LOD_LinearPixel()
454 float uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
457 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel()
468 float2 uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
473 float pixelU = uv.x * sourceW; in sample_LOD_LinearPixel()
474 float pixelV = uv.y * sourceH; in sample_LOD_LinearPixel()
514 float2 uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
521 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel()
530 rsSample(rs_allocation a, rs_sampler s, float uv, float lod) { in rsSample() argument
548 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, uv, 0); in rsSample()
550 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, 0); in rsSample()
557 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, nearestLOD); in rsSample()
566 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod0); in rsSample()
567 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod1); in rsSample()
572 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, uv, 0); in rsSample()
582 rsSample(rs_allocation a, rs_sampler s, float2 uv, float lod) { in rsSample() argument
601 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
603 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
610 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, nearestLOD); in rsSample()
619 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod0); in rsSample()
620 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod1); in rsSample()
625 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
629 rsSample(rs_allocation a, rs_sampler s, float2 uv) { in rsSample() argument
645 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
647 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()