Lines Matching refs:mipmap
509 …Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) … in textureSize() local
510 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize()
511 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize()
512 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize()
529 …Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, in… in offsetSample() argument
531 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample()
746 Pointer<Byte> mipmap; in sampleQuad2D() local
749 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleQuad2D()
753 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap); in sampleQuad2D()
754 Short4 vvvv = texelFetch ? Short4(As<Int4>(v)) : address(v, state.addressingModeV, mipmap); in sampleQuad2D()
755 Short4 wwww = texelFetch ? Short4(As<Int4>(w)) : address(w, state.addressingModeW, mipmap); in sampleQuad2D()
759 c = sampleTexel(uuuu, vvvv, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
763 …Short4 uuuu0 = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSIN… in sampleQuad2D()
764 …Short4 vvvv0 = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSIN… in sampleQuad2D()
765 …Short4 uuuu1 = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSIN… in sampleQuad2D()
766 …Short4 vvvv1 = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSIN… in sampleQuad2D()
768 Vector4s c0 = sampleTexel(uuuu0, vvvv0, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
769 Vector4s c1 = sampleTexel(uuuu1, vvvv0, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
770 Vector4s c2 = sampleTexel(uuuu0, vvvv1, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
771 Vector4s c3 = sampleTexel(uuuu1, vvvv1, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
776 UShort4 f0u = As<UShort4>(uuuu0) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,width)); in sampleQuad2D()
777 UShort4 f0v = As<UShort4>(vvvv0) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,height)); in sampleQuad2D()
940 Pointer<Byte> mipmap; in sample3D() local
944 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sample3D()
948 Short4 uuuu = texelFetch ? Short4(As<Int4>(u_)) : address(u_, state.addressingModeU, mipmap); in sample3D()
949 Short4 vvvv = texelFetch ? Short4(As<Int4>(v_)) : address(v_, state.addressingModeV, mipmap); in sample3D()
950 Short4 wwww = texelFetch ? Short4(As<Int4>(w_)) : address(w_, state.addressingModeW, mipmap); in sample3D()
954 c_ = sampleTexel(uuuu, vvvv, wwww, offset, mipmap, buffer, function); in sample3D()
970 …u[i][j][k] = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSING_… in sample3D()
971 …v[i][j][k] = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSING_… in sample3D()
972 …s[i][j][k] = offsetSample(wwww, mipmap, OFFSET(Mipmap,wHalf), state.addressingModeW == ADDRESSING_… in sample3D()
978 UShort4 f0u = As<UShort4>(u[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,width)); in sample3D()
979 UShort4 f0v = As<UShort4>(v[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,height)); in sample3D()
980 UShort4 f0s = As<UShort4>(s[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,depth)); in sample3D()
1026 … c[i][j][k] = sampleTexel(u[i][j][k], v[i][j][k], s[i][j][k], offset, mipmap, buffer, function); in sample3D()
1216 Pointer<Byte> mipmap; in sampleFloat2D() local
1219 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleFloat2D()
1224 …address(u, x0, x1, fu, mipmap, offset.x, filter, OFFSET(Mipmap, width), state.addressingModeU, fun… in sampleFloat2D()
1225 …address(v, y0, y1, fv, mipmap, offset.y, filter, OFFSET(Mipmap, height), state.addressingModeV, fu… in sampleFloat2D()
1226 …address(w, z0, z0, fv, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, fun… in sampleFloat2D()
1228 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D()
1232 Int4 sliceP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, sliceP), 16); in sampleFloat2D()
1238 c = sampleTexel(x0, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1244 Vector4f c0 = sampleTexel(x0, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1245 Vector4f c1 = sampleTexel(x1, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1246 Vector4f c2 = sampleTexel(x0, y1, z0, q, mipmap, buffer, function); in sampleFloat2D()
1247 Vector4f c3 = sampleTexel(x1, y1, z0, q, mipmap, buffer, function); in sampleFloat2D()
1284 Pointer<Byte> mipmap; in sampleFloat3D() local
1288 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleFloat3D()
1293 …address(u, x0, x1, fu, mipmap, offset.x, filter, OFFSET(Mipmap, width), state.addressingModeU, fun… in sampleFloat3D()
1294 …address(v, y0, y1, fv, mipmap, offset.y, filter, OFFSET(Mipmap, height), state.addressingModeV, fu… in sampleFloat3D()
1295 …address(w, z0, z1, fw, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, fun… in sampleFloat3D()
1297 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D()
1298 Int4 sliceP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, sliceP), 16); in sampleFloat3D()
1304 c = sampleTexel(x0, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1311 Vector4f c0 = sampleTexel(x0, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1312 Vector4f c1 = sampleTexel(x1, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1313 Vector4f c2 = sampleTexel(x0, y1, z0, w, mipmap, buffer, function); in sampleFloat3D()
1314 Vector4f c3 = sampleTexel(x1, y1, z0, w, mipmap, buffer, function); in sampleFloat3D()
1315 Vector4f c4 = sampleTexel(x0, y0, z1, w, mipmap, buffer, function); in sampleFloat3D()
1316 Vector4f c5 = sampleTexel(x1, y0, z1, w, mipmap, buffer, function); in sampleFloat3D()
1317 Vector4f c6 = sampleTexel(x0, y1, z1, w, mipmap, buffer, function); in sampleFloat3D()
1318 Vector4f c7 = sampleTexel(x1, y1, z1, w, mipmap, buffer, function); in sampleFloat3D()
1655 …4 uuuu, Short4 vvvv, Short4 wwww, Vector4f &offset, const Pointer<Byte> &mipmap, SamplerFunction f… in computeIndices() argument
1662 uuuu = MulHigh(As<UShort4>(uuuu), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, width))); in computeIndices()
1663 vvvv = MulHigh(As<UShort4>(vvvv), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, height))); in computeIndices()
1668 UShort4 w = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, width)); in computeIndices()
1670 UShort4 h = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, height)); in computeIndices()
1677 uuuu = As<Short4>(MulAdd(uuuu, *Pointer<Short4>(mipmap + OFFSET(Mipmap,onePitchP)))); in computeIndices()
1678 uuu2 = As<Short4>(MulAdd(uuu2, *Pointer<Short4>(mipmap + OFFSET(Mipmap,onePitchP)))); in computeIndices()
1686 wwww = MulHigh(As<UShort4>(wwww), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth))); in computeIndices()
1691 UShort4 d = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth)); in computeIndices()
1697 uv += As<UInt4>(Int4(As<UShort4>(wwww))) * *Pointer<UInt4>(mipmap + OFFSET(Mipmap, sliceP)); in computeIndices()
1714 Int size = Int(*Pointer<Int>(mipmap + OFFSET(Mipmap, sliceP))); in computeIndices()
1717 size *= Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth))); in computeIndices()
1729 …(UInt index[4], Int4& uuuu, Int4& vvvv, Int4& wwww, const Pointer<Byte> &mipmap, SamplerFunction f… in computeIndices() argument
2005 …ort4 &uuuu, Short4 &vvvv, Short4 &wwww, Vector4f &offset, Pointer<Byte> &mipmap, Pointer<Byte> buf… in sampleTexel() argument
2010 computeIndices(index, uuuu, vvvv, wwww, offset, mipmap, function); in sampleTexel()
2072 computeIndices(index, uuuu, vvvv, wwww, offset, mipmap + sizeof(Mipmap), function); in sampleTexel()
2114 …ampleTexel(Int4 &uuuu, Int4 &vvvv, Int4 &wwww, Float4 &z, Pointer<Byte> &mipmap, Pointer<Byte> buf… in sampleTexel() argument
2119 computeIndices(index, uuuu, vvvv, wwww, mipmap, function); in sampleTexel()
2234 …ctMipmap(Pointer<Byte> &texture, Pointer<Byte> buffer[4], Pointer<Byte> &mipmap, Float &lod, Int f… in selectMipmap() argument
2238 mipmap = texture + OFFSET(Texture,mipmap[0]); in selectMipmap()
2253 mipmap = texture + OFFSET(Texture,mipmap) + ilod * sizeof(Mipmap) + secondLOD * sizeof(Mipmap); in selectMipmap()
2258 buffer[0] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[0])); in selectMipmap()
2262 buffer[1] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[1])); in selectMipmap()
2263 buffer[2] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[2])); in selectMipmap()
2270 buffer[i] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer) + face[i] * sizeof(void*)); in selectMipmap()
2295 Short4 SamplerCore::address(Float4 &uw, AddressingMode addressingMode, Pointer<Byte> &mipmap) in address() argument
2303 …return Min(Max(Short4(RoundInt(uw)), Short4(0)), *Pointer<Short4>(mipmap + OFFSET(Mipmap, depth)) … in address()
2337 …void SamplerCore::address(Float4 &uvw, Int4 &xyz0, Int4 &xyz1, Float4 &f, Pointer<Byte> &mipmap, F… in address() argument
2344 Int4 dim = Int4(*Pointer<Short4>(mipmap + whd, 16)); in address()