rs_sample.c | 566 uint32_t lod0 = (uint32_t)floor(lod); local 569 lod0 = min(lod0, maxLOD); 571 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod0); 573 float frac = lod - (float)lod0; 619 uint32_t lod0 = (uint32_t)floor(lod); local 622 lod0 = min(lod0, maxLOD); 624 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod0); 626 float frac = lod - (float)lod0; [all...] |