Searched refs:lod (Results 1 - 25 of 110) sorted by relevance

12345

/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/
H A Dspirv.h8 __attribute__((overloadable, always_inline)) int __spirv_ImageQuerySizeLod(image1d_t img, int lod);
9 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image1d_array_t img, int lod);
10 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image2d_t img, int lod);
11 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(image2d_depth_t img, int lod);
12 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySizeLod(image2d_array_t img, int lod);
13 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySizeLod(image2d_array_depth_t img, int lod);
14 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySizeLod(image3d_t img, int lod);
/external/deqp/framework/common/
H A DtcuTexture.hpp239 float lodThreshold; // lod <= lodThreshold ? magnified : minified
440 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
441 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod);
442 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod);
444 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
445 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset);
446 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset);
448 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
449 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset);
501 Vec4 sample (const Sampler& sampler, float s, float lod) cons
523 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
533 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
577 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
587 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
676 sampleOffset(const Sampler& sampler, float s, float lod, deInt32 offset) const argument
686 sampleCompareOffset(const Sampler& sampler, float ref, float s, float lod, deInt32 offset) const argument
737 sampleOffset(const Sampler& sampler, float s, float t, float lod, const IVec2& offset) const argument
747 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, const IVec2& offset) const argument
945 sampleOffset(const Sampler& sampler, float s, float t, float lod, deInt32 offset) const argument
955 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float lod, deInt32 offset) const argument
1006 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec2& offset) const argument
1016 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float lod, const IVec2& offset) const argument
1059 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1105 sampleOffset(const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) const argument
1178 sampleOffset(const Sampler& sampler, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
1188 sampleCompareOffset(const Sampler& sampler, float ref, float s, float t, float r, float q, float lod, const IVec2& offset) const argument
[all...]
H A DtcuTexture.cpp2162 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int depth, float lod) argument
2164 return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset in 1D textures is layer selector
2167 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod) argument
2169 return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth)); // z-offset in 2D textures is layer selector
2172 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod) argument
2174 return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0));
2177 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset) argument
2179 bool magnified = lod <= sampler.lodThreshold;
2191 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel);
2201 int level0 = deClamp32((int)deFloatFloor(lod),
2217 sampleLevelArray2DOffset(const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset) argument
2257 sampleLevelArray3DOffset(const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset) argument
2297 sampleLevelArray1DCompare(const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset) argument
2337 sampleLevelArray2DCompare(const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset) argument
[all...]
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
H A Dsliced_wasserstein_impl.py253 for lod, level in enumerate(
255 patches_real[lod].append(
257 patches_test[lod].append(
260 for lod, level in enumerate(
262 patches_fake[lod].append(
265 for lod in range(len(resolutions)):
267 patches[lod] = _normalize_patches(patches[lod])
271 for lod in range(len(resolutions)):
274 (_sliced_wasserstein(patches_real[lod], patches_tes
[all...]
/external/deqp/framework/randomshaders/
H A DrsgSamplers.hpp49 inline tcu::Vec4 sample (float s, float t, float lod) const
51 return m_texture->sample(m_sampler, s, t, lod);
74 inline tcu::Vec4 sample (float s, float t, float r, float lod) const
76 return m_texture->sample(m_sampler, s, t, r, lod);
/external/swiftshader/src/Shader/
H A DSamplerCore.hpp55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod);
62 Short4 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Float &lod);
63 Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
64 Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function);
65 Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
66 Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function);
67 Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, bool secondLOD, SamplerFunction function);
68 Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function);
69 Vector4f sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function);
70 Vector4f sampleFloat(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, In
[all...]
H A DVertexProgram.hpp112 void TEXLOD(Vector4f &dst, Vector4f &src, const Src&, Float4 &lod);
113 void TEXLODOFFSET(Vector4f &dst, Vector4f &src, const Src&, Vector4f &offset, Float4 &lod);
114 void TEXELFETCH(Vector4f &dst, Vector4f &src, const Src&, Float4 &lod);
115 void TEXELFETCHOFFSET(Vector4f &dst, Vector4f &src, const Src&, Vector4f &offset, Float4 &lod);
118 void TEXSIZE(Vector4f &dst, Float4 &lod, const Src&);
120 Vector4f sampleTexture(const Src &s, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
121 Vector4f sampleTexture(int sampler, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
H A DSamplerCore.cpp100 Float lod; local
109 computeLod(texture, lod, anisotropy, uDelta, vDelta, uuuu, vvvv, bias.x, dsx, dsy, function);
115 computeLodCube(texture, lod, u, v, w, bias.x, dsx, dsy, M, function);
120 computeLod3D(texture, lod, uuuu, vvvv, wwww, bias.x, dsx, dsy, function);
125 c = sampleFilter(texture, uuuu, vvvv, wwww, offset, lod, anisotropy, uDelta, vDelta, face, function);
129 Vector4f cf = sampleFloatFilter(texture, uuuu, vvvv, wwww, qqqq, offset, lod, anisotropy, uDelta, vDelta, face, function);
311 Float lod; local
320 computeLod(texture, lod, anisotropy, uDelta, vDelta, uuuu, vvvv, bias.x, dsx, dsy, function);
326 computeLodCube(texture, lod, u, v, w, bias.x, dsx, dsy, M, function);
331 computeLod3D(texture, lod, uuu
506 textureSize(Pointer<Byte> &texture, Float4 &lod) argument
533 offsetSample(Short4 &uvw, Pointer<Byte> &mipmap, int halfOffset, bool wrap, int count, Float &lod) argument
570 sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function) argument
671 sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function) argument
731 sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function) argument
743 sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function) argument
938 sample3D(Pointer<Byte> &texture, Float4 &u_, Float4 &v_, Float4 &w_, Vector4f &offset, Float &lod, bool secondLOD, SamplerFunction function) argument
1063 sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], SamplerFunction function) argument
1143 sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Int face[4], bool secondLOD, SamplerFunction function) argument
1201 sampleFloat(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function) argument
1213 sampleFloat2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vector4f &offset, Float &lod, Int face[4], bool secondLOD, SamplerFunction function) argument
1282 sampleFloat3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &lod, bool secondLOD, SamplerFunction function) argument
1366 log2sqrt(Float lod) argument
1376 log2(Float lod) argument
1385 computeLod(Pointer<Byte> &texture, Float &lod, Float &anisotropy, Float4 &uDelta, Float4 &vDelta, Float4 &uuuu, Float4 &vvvv, const Float &lodBias, Vector4f &dsx, Vector4f &dsy, SamplerFunction function) argument
1456 computeLodCube(Pointer<Byte> &texture, Float &lod, Float4 &u, Float4 &v, Float4 &w, const Float &lodBias, Vector4f &dsx, Vector4f &dsy, Float4 &M, SamplerFunction function) argument
1522 computeLod3D(Pointer<Byte> &texture, Float &lod, Float4 &uuuu, Float4 &vvvv, Float4 &wwww, const Float &lodBias, Vector4f &dsx, Vector4f &dsy, SamplerFunction function) argument
2238 selectMipmap(Pointer<Byte> &texture, Pointer<Byte> buffer[4], Pointer<Byte> &mipmap, Float &lod, Int face[4], bool secondLOD) argument
2279 computeFilterOffset(Float &lod) argument
[all...]
H A DPixelProgram.hpp110 void TEXLOD(Vector4f &dst, Vector4f &src0, const Src &src1, Float4 &lod);
112 void TEXSIZE(Vector4f &dst, Float4 &lod, const Src &src1);
116 void TEXLODOFFSET(Vector4f &dst, Vector4f &src0, const Src &src1, Vector4f &offset, Float4 &lod);
117 void TEXELFETCH(Vector4f &dst, Vector4f &src, const Src &, Float4 &lod);
118 void TEXELFETCHOFFSET(Vector4f &dst, Vector4f &src, const Src &, Vector4f &offset, Float4 &lod);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_depth_state.c52 unsigned int lod; local
103 lod = irb ? irb->mt_level - irb->mt->first_level : 0;
136 lod << 2);
170 hiz_mt->level[lod].level_x,
171 hiz_mt->level[lod].level_y);
200 stencil_mt->level[lod].level_y * stencil_mt->pitch +
201 stencil_mt->level[lod].level_x * 64;
205 stencil_mt->level[lod].level_x,
206 stencil_mt->level[lod].level_y);
H A Dgen7_misc_state.c49 unsigned int lod; local
95 lod = irb ? irb->mt_level - irb->mt->first_level : 0;
127 lod);
H A Dgen8_depth_state.c49 uint32_t lod,
78 OUT_BATCH(((width - 1) << 4) | ((height - 1) << 18) | lod);
163 unsigned int lod; local
213 lod = irb ? irb->mt_level - irb->mt->first_level : 0;
223 hiz, width, height, depth, lod, min_array_element);
38 emit_depth_packets(struct brw_context *brw, struct intel_mipmap_tree *depth_mt, uint32_t depthbuffer_format, uint32_t depth_surface_type, bool depth_writable, struct intel_mipmap_tree *stencil_mt, bool stencil_writable, bool hiz, uint32_t width, uint32_t height, uint32_t depth, uint32_t lod, uint32_t min_array_element) argument
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
H A DTilingFunctions.h258 /// @brief Computes lod offset for 1D surface at specified lod.
261 /// @param lod - lod index
267 uint32_t lod,
270 if (lod == 0)
285 for (uint32_t l = 1; l < lod; ++l)
299 /// @brief Computes x lod offset for 2D surface at specified lod.
302 /// @param lod
263 ComputeLODOffset1D( const SWR_FORMAT_INFO& info, uint32_t baseWidth, uint32_t hAlign, uint32_t lod, uint32_t &offset) argument
304 ComputeLODOffsetX( const SWR_FORMAT_INFO& info, uint32_t baseWidth, uint32_t hAlign, uint32_t lod, uint32_t &offset) argument
343 ComputeLODOffsetY( const SWR_FORMAT_INFO& info, uint32_t baseHeight, uint32_t vAlign, uint32_t lod, uint32_t &offset) argument
388 ComputeSurfaceOffset1D( uint32_t x, uint32_t array, uint32_t lod, const SWR_SURFACE_STATE *pState, uint32_t &xOffsetBytes) argument
532 ComputeSurfaceOffset2D(uint32_t x, uint32_t y, uint32_t array, uint32_t sampleNum, uint32_t lod, const SWR_SURFACE_STATE *pState, uint32_t &xOffsetBytes, uint32_t &yOffsetRows) argument
564 ComputeSurfaceOffset3D(uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const SWR_SURFACE_STATE *pState, uint32_t &xOffsetBytes, uint32_t &yOffsetRows, uint32_t &zOffsetSlices) argument
652 ComputeSurfaceOffset(uint32_t x, uint32_t y, uint32_t z, uint32_t array, uint32_t sampleNum, uint32_t lod, const SWR_SURFACE_STATE *pState) argument
695 ComputeSurfaceAddress(uint32_t x, uint32_t y, uint32_t z, uint32_t array, uint32_t sampleNum, uint32_t lod, const SWR_SURFACE_STATE *pState) argument
[all...]
H A DStoreTile.h1118 uint32_t lodWidth = std::max(pDstSurface->width >> pDstSurface->lod, 1U);
1119 uint32_t lodHeight = std::max(pDstSurface->height >> pDstSurface->lod, 1U);
1135 sampleNum, pDstSurface->lod, pDstSurface);
1170 uint32_t lodWidth = std::max(pDstSurface->width >> pDstSurface->lod, 1U);
1171 uint32_t lodHeight = std::max(pDstSurface->height >> pDstSurface->lod, 1U);
1179 pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1257 uint32_t lodWidth = std::max(pDstSurface->width >> pDstSurface->lod, 1U);
1258 uint32_t lodHeight = std::max(pDstSurface->height >> pDstSurface->lod, 1U);
1266 pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1344 uint32_t lodWidth = std::max(pDstSurface->width >> pDstSurface->lod,
[all...]
/external/clang/test/CodeGen/
H A D2008-03-24-BitField-And-Alloca.c54 unsigned int lod : 2; member in struct:_Key::__anon2415
68 if(((iospec.key_io.lod == G_B) &&
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dbasetexture9.c69 This->managed.lod = 0;
114 DWORD old = This->managed.lod;
123 This->managed.lod = MIN2(LODNew, max_level);
125 if (This->managed.lod != old && This->bind_count && LIST_IS_EMPTY(&This->list))
136 return This->managed.lod;
179 unsigned l, min_level_dirty = This->managed.lod;
190 update_lod = This->managed.lod_resident != This->managed.lod;
200 DBG("updating LOD from %u to %u ...\n", This->managed.lod_resident, This->managed.lod);
223 * corresponds to This->managed.lod).
225 * before This->managed.lod, negativ
[all...]
H A Dbasetexture9.h53 DWORD lod; member in struct:NineBaseTexture9::__anon16855
117 DBG_FLAG(DBG_BASETEXTURE, "This=%p dirty=%i dirty_mip=%i lod=%u/%u\n",
118 This, This->managed.dirty, This->dirty_mip, This->managed.lod, This->managed.lod_resident);
120 (This->managed.dirty || This->managed.lod != This->managed.lod_resident))
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.h86 const float lod[TGSI_QUAD_SIZE],
93 const float lod[TGSI_QUAD_SIZE],
99 const int lod[TGSI_QUAD_SIZE], const int8_t offset[3],
H A Dsp_tex_sample.c1788 * \param lod returns the per-fragment lod.
1795 float lod[TGSI_QUAD_SIZE])
1806 lod[0] = lod[1] = lod[2] = lod[3] = CLAMP(biased_lambda, min_lod, max_lod);
1810 lod[i] = biased_lambda + lod_in[i];
1811 lod[i] = CLAMP(lod[
1791 compute_lod(const struct pipe_sampler_state *sampler, enum tgsi_sampler_control control, const float biased_lambda, const float lod_in[TGSI_QUAD_SIZE], float lod[TGSI_QUAD_SIZE]) argument
1832 compute_lambda_lod_unclamped(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float lod_in[TGSI_QUAD_SIZE], enum tgsi_sampler_control control, float lod[TGSI_QUAD_SIZE]) argument
1879 compute_lambda_lod(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float lod_in[TGSI_QUAD_SIZE], enum tgsi_sampler_control control, float lod[TGSI_QUAD_SIZE]) argument
1912 clamp_lod(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float clamped[TGSI_QUAD_SIZE]) argument
1936 mip_rel_level_linear(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
1959 float lod[TGSI_QUAD_SIZE]; local
2010 mip_rel_level_nearest(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
2044 float lod[TGSI_QUAD_SIZE]; local
2080 mip_rel_level_none(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
2105 float lod[TGSI_QUAD_SIZE]; local
2134 mip_rel_level_none_no_filter_select(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
2399 mip_rel_level_linear_aniso(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
2427 float lod[TGSI_QUAD_SIZE]; local
2529 mip_rel_level_linear_2d_linear_repeat_POT( const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float lod[TGSI_QUAD_SIZE], float level[TGSI_QUAD_SIZE]) argument
2558 float lod[TGSI_QUAD_SIZE]; local
3061 sample_mip(const struct sp_sampler_view *sp_sview, const struct sp_sampler *sp_samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], const float lod[TGSI_QUAD_SIZE], const struct filter_args *filt_args, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
3246 sp_get_texels(const struct sp_sampler_view *sp_sview, const int v_i[TGSI_QUAD_SIZE], const int v_j[TGSI_QUAD_SIZE], const int v_k[TGSI_QUAD_SIZE], const int lod[TGSI_QUAD_SIZE], const int8_t offset[3], float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
3561 sp_tgsi_get_samples(struct tgsi_sampler *tgsi_sampler, const unsigned sview_index, const unsigned sampler_index, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], const float lod[TGSI_QUAD_SIZE], float derivs[3][2][TGSI_QUAD_SIZE], const int8_t offset[3], enum tgsi_sampler_control control, float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
3619 sp_tgsi_query_lod(const struct tgsi_sampler *tgsi_sampler, const unsigned sview_index, const unsigned sampler_index, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE], const float c0[TGSI_QUAD_SIZE], const enum tgsi_sampler_control control, float mipmap[TGSI_QUAD_SIZE], float lod[TGSI_QUAD_SIZE]) argument
3674 sp_tgsi_get_texel(struct tgsi_sampler *tgsi_sampler, const unsigned sview_index, const int i[TGSI_QUAD_SIZE], const int j[TGSI_QUAD_SIZE], const int k[TGSI_QUAD_SIZE], const int lod[TGSI_QUAD_SIZE], const int8_t offset[3], float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp359 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
360 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
363 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) argument
374 quadColors[ndx] = sample(texture, coord, lod, sampler);
405 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
406 void renderCell (int textureNdx, float lod, const Grid& grid) const;
407 void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const;
605 const float lod local
633 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
680 renderCell(int textureNdx, float lod, const Grid& grid) const argument
686 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
937 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local
965 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1012 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1019 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
[all...]
H A Des2fShaderTextureFunctionTests.cpp164 float lod; member in struct:deqp::gles2::Functional::__anon4976::TexLookupParams
169 : lod (0.0f)
187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } argument
188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } argument
191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; }
192 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; }
194 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; }
195 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp454 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
455 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
456 static inline Vec4 sample (const tcu::Texture2DArray& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
457 static inline Vec4 sample (const tcu::Texture3D& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
460 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) argument
471 quadColors[ndx] = sample(texture, coord, lod, sample
705 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local
733 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
780 renderCell(int textureNdx, float lod, const Grid& grid) const argument
786 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
1040 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local
1068 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1115 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1122 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
1380 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx); local
1408 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1455 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1462 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
1723 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx); local
1751 setupShaderInputs(int textureNdx, float lod, const Grid& grid) const argument
1799 renderCell(int textureNdx, float lod, const Grid& grid) const argument
1806 computeReferenceCell(int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const argument
[all...]
H A Des3fShaderTextureFunctionTests.cpp220 float lod; member in struct:deqp::gles3::Functional::__anon5145::TexLookupParams
226 : lod (0.0f)
279 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } argument
280 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } argument
281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sample(c.textures[0].sampler, s, t, r, lod); } argument
282 inline Vec4 texture3D (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex3D->sample(c.textures[0].sampler, s, t, r, lod); } argument
284 texture2DShadow(const gls::ShaderEvalContext& c, float ref, float s, float t, float lod) argument
285 textureCubeShadow(const gls::ShaderEvalContext& c, float ref, float s, float t, float r, float lod) argument
286 texture2DArrayShadow(const gls::ShaderEvalContext& c, float ref, float s, float t, float r, float lod) argument
288 texture2DOffset(const gls::ShaderEvalContext& c, float s, float t, float lod, IVec2 offset) argument
289 texture2DArrayOffset(const gls::ShaderEvalContext& c, float s, float t, float r, float lod, IVec2 offset) argument
290 texture3DOffset(const gls::ShaderEvalContext& c, float s, float t, float r, float lod, IVec3 offset) argument
292 texture2DShadowOffset(const gls::ShaderEvalContext& c, float ref, float s, float t, float lod, IVec2 offset) argument
293 texture2DArrayShadowOffset(const gls::ShaderEvalContext& c, float ref, float s, float t, float r, float lod, IVec2 offset) argument
407 int lod = deChopFloatToInt32(c.in[1].x()); local
416 int lod = deChopFloatToInt32(c.in[1].x()); local
425 int lod = deChopFloatToInt32(c.in[1].x()); local
967 int lod; member in struct:deqp::gles3::Functional::TextureSizeCase::TestSize
[all...]
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c65 /* when not mipmapping, we need to set max/min lod so that always
220 for (int lod = 0; lod <= res->base.last_level; ++lod) {
221 sv->TE_SAMPLER_LOD_ADDR[lod].bo = res->bo;
222 sv->TE_SAMPLER_LOD_ADDR[lod].offset = res->levels[lod].offset;
223 sv->TE_SAMPLER_LOD_ADDR[lod].flags = ETNA_RELOC_READ;
/external/mesa3d/src/compiler/glsl/
H A Dir_equals.cpp169 if (!lod_info.lod->equals(other->lod_info.lod, ignore))

Completed in 836 milliseconds

12345