• Home
  • Raw
  • Download

Lines Matching refs:mipmap

418 …Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) …  in textureSize()  local
419 size.x = Insert(size.x, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, width)))), i); in textureSize()
420 size.y = Insert(size.y, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, height)))), i); in textureSize()
421 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize()
438 …Short4 SamplerCore::offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, in… in offsetSample() argument
440 Short4 offset = *Pointer<Short4>(mipmap + halfOffset); in offsetSample()
655 Pointer<Byte> mipmap; in sampleQuad2D() local
658 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleQuad2D()
662 Short4 uuuu = texelFetch ? Short4(As<Int4>(u)) : address(u, state.addressingModeU, mipmap); in sampleQuad2D()
663 Short4 vvvv = texelFetch ? Short4(As<Int4>(v)) : address(v, state.addressingModeV, mipmap); in sampleQuad2D()
664 Short4 wwww = texelFetch ? Short4(As<Int4>(w)) : address(w, state.addressingModeW, mipmap); in sampleQuad2D()
668 c = sampleTexel(uuuu, vvvv, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
672 …Short4 uuuu0 = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSIN… in sampleQuad2D()
673 …Short4 vvvv0 = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSIN… in sampleQuad2D()
674 …Short4 uuuu1 = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSIN… in sampleQuad2D()
675 …Short4 vvvv1 = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSIN… in sampleQuad2D()
677 Vector4s c0 = sampleTexel(uuuu0, vvvv0, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
678 Vector4s c1 = sampleTexel(uuuu1, vvvv0, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
679 Vector4s c2 = sampleTexel(uuuu0, vvvv1, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
680 Vector4s c3 = sampleTexel(uuuu1, vvvv1, wwww, offset, mipmap, buffer, function); in sampleQuad2D()
685 UShort4 f0u = As<UShort4>(uuuu0) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,width)); in sampleQuad2D()
686 UShort4 f0v = As<UShort4>(vvvv0) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,height)); in sampleQuad2D()
849 Pointer<Byte> mipmap; in sample3D() local
853 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sample3D()
857 Short4 uuuu = texelFetch ? Short4(As<Int4>(u_)) : address(u_, state.addressingModeU, mipmap); in sample3D()
858 Short4 vvvv = texelFetch ? Short4(As<Int4>(v_)) : address(v_, state.addressingModeV, mipmap); in sample3D()
859 Short4 wwww = texelFetch ? Short4(As<Int4>(w_)) : address(w_, state.addressingModeW, mipmap); in sample3D()
863 c_ = sampleTexel(uuuu, vvvv, wwww, offset, mipmap, buffer, function); in sample3D()
879 …u[i][j][k] = offsetSample(uuuu, mipmap, OFFSET(Mipmap,uHalf), state.addressingModeU == ADDRESSING_… in sample3D()
880 …v[i][j][k] = offsetSample(vvvv, mipmap, OFFSET(Mipmap,vHalf), state.addressingModeV == ADDRESSING_… in sample3D()
881 …s[i][j][k] = offsetSample(wwww, mipmap, OFFSET(Mipmap,wHalf), state.addressingModeW == ADDRESSING_… in sample3D()
887 UShort4 f0u = As<UShort4>(u[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,width)); in sample3D()
888 UShort4 f0v = As<UShort4>(v[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,height)); in sample3D()
889 UShort4 f0s = As<UShort4>(s[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,depth)); in sample3D()
935 … c[i][j][k] = sampleTexel(u[i][j][k], v[i][j][k], s[i][j][k], offset, mipmap, buffer, function); in sample3D()
1125 Pointer<Byte> mipmap; in sampleFloat2D() local
1128 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleFloat2D()
1133 …address(u, x0, x1, fu, mipmap, offset.x, filter, OFFSET(Mipmap, width), state.addressingModeU, fun… in sampleFloat2D()
1134 …address(v, y0, y1, fv, mipmap, offset.y, filter, OFFSET(Mipmap, height), state.addressingModeV, fu… in sampleFloat2D()
1135 …address(w, z0, z0, fv, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, fun… in sampleFloat2D()
1137 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D()
1141 Int4 sliceP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, sliceP), 16); in sampleFloat2D()
1147 c = sampleTexel(x0, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1153 Vector4f c0 = sampleTexel(x0, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1154 Vector4f c1 = sampleTexel(x1, y0, z0, q, mipmap, buffer, function); in sampleFloat2D()
1155 Vector4f c2 = sampleTexel(x0, y1, z0, q, mipmap, buffer, function); in sampleFloat2D()
1156 Vector4f c3 = sampleTexel(x1, y1, z0, q, mipmap, buffer, function); in sampleFloat2D()
1193 Pointer<Byte> mipmap; in sampleFloat3D() local
1197 selectMipmap(texture, buffer, mipmap, lod, face, secondLOD); in sampleFloat3D()
1202 …address(u, x0, x1, fu, mipmap, offset.x, filter, OFFSET(Mipmap, width), state.addressingModeU, fun… in sampleFloat3D()
1203 …address(v, y0, y1, fv, mipmap, offset.y, filter, OFFSET(Mipmap, height), state.addressingModeV, fu… in sampleFloat3D()
1204 …address(w, z0, z1, fw, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, fun… in sampleFloat3D()
1206 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D()
1207 Int4 sliceP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, sliceP), 16); in sampleFloat3D()
1213 c = sampleTexel(x0, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1220 Vector4f c0 = sampleTexel(x0, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1221 Vector4f c1 = sampleTexel(x1, y0, z0, w, mipmap, buffer, function); in sampleFloat3D()
1222 Vector4f c2 = sampleTexel(x0, y1, z0, w, mipmap, buffer, function); in sampleFloat3D()
1223 Vector4f c3 = sampleTexel(x1, y1, z0, w, mipmap, buffer, function); in sampleFloat3D()
1224 Vector4f c4 = sampleTexel(x0, y0, z1, w, mipmap, buffer, function); in sampleFloat3D()
1225 Vector4f c5 = sampleTexel(x1, y0, z1, w, mipmap, buffer, function); in sampleFloat3D()
1226 Vector4f c6 = sampleTexel(x0, y1, z1, w, mipmap, buffer, function); in sampleFloat3D()
1227 Vector4f c7 = sampleTexel(x1, y1, z1, w, mipmap, buffer, function); in sampleFloat3D()
1564 …4 uuuu, Short4 vvvv, Short4 wwww, Vector4f &offset, const Pointer<Byte> &mipmap, SamplerFunction f… in computeIndices() argument
1571 uuuu = MulHigh(As<UShort4>(uuuu), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, width))); in computeIndices()
1572 vvvv = MulHigh(As<UShort4>(vvvv), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, height))); in computeIndices()
1577 UShort4 w = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, width)); in computeIndices()
1579 UShort4 h = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, height)); in computeIndices()
1586 uuuu = As<Short4>(MulAdd(uuuu, *Pointer<Short4>(mipmap + OFFSET(Mipmap,onePitchP)))); in computeIndices()
1587 uuu2 = As<Short4>(MulAdd(uuu2, *Pointer<Short4>(mipmap + OFFSET(Mipmap,onePitchP)))); in computeIndices()
1595 wwww = MulHigh(As<UShort4>(wwww), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth))); in computeIndices()
1600 UShort4 d = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth)); in computeIndices()
1606 uv += As<UInt4>(Int4(As<UShort4>(wwww))) * *Pointer<UInt4>(mipmap + OFFSET(Mipmap, sliceP)); in computeIndices()
1623 Int size = Int(*Pointer<Int>(mipmap + OFFSET(Mipmap, sliceP))); in computeIndices()
1626 size *= Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth))); in computeIndices()
1638 …(UInt index[4], Int4& uuuu, Int4& vvvv, Int4& wwww, const Pointer<Byte> &mipmap, SamplerFunction f… in computeIndices() argument
1860 …ort4 &uuuu, Short4 &vvvv, Short4 &wwww, Vector4f &offset, Pointer<Byte> &mipmap, Pointer<Byte> buf… in sampleTexel() argument
1865 computeIndices(index, uuuu, vvvv, wwww, offset, mipmap, function); in sampleTexel()
1930 computeIndices(index, uuuu, vvvv, wwww, offset, mipmap + sizeof(Mipmap), function); in sampleTexel()
1972 …ampleTexel(Int4 &uuuu, Int4 &vvvv, Int4 &wwww, Float4 &z, Pointer<Byte> &mipmap, Pointer<Byte> buf… in sampleTexel() argument
1977 computeIndices(index, uuuu, vvvv, wwww, mipmap, function); in sampleTexel()
2092 …ctMipmap(Pointer<Byte> &texture, Pointer<Byte> buffer[4], Pointer<Byte> &mipmap, Float &lod, Int f… in selectMipmap() argument
2096 mipmap = texture + OFFSET(Texture,mipmap[0]); in selectMipmap()
2111 mipmap = texture + OFFSET(Texture,mipmap) + ilod * sizeof(Mipmap) + secondLOD * sizeof(Mipmap); in selectMipmap()
2116 buffer[0] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[0])); in selectMipmap()
2120 buffer[1] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[1])); in selectMipmap()
2121 buffer[2] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer[2])); in selectMipmap()
2128 buffer[i] = *Pointer<Pointer<Byte> >(mipmap + OFFSET(Mipmap,buffer) + face[i] * sizeof(void*)); in selectMipmap()
2153 Short4 SamplerCore::address(Float4 &uw, AddressingMode addressingMode, Pointer<Byte> &mipmap) in address() argument
2161 …return Min(Max(Short4(RoundInt(uw)), Short4(0)), *Pointer<Short4>(mipmap + OFFSET(Mipmap, depth)) … in address()
2195 …void SamplerCore::address(Float4 &uvw, Int4 &xyz0, Int4 &xyz1, Float4 &f, Pointer<Byte> &mipmap, F… in address() argument
2202 Int4 dim = Int4(*Pointer<Short4>(mipmap + whd, 16)); in address()