/external/swiftshader/src/Device/ |
D | VertexProcessor.cpp | 183 void VertexProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter() argument 185 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setTextureFilter() 187 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setTextureFilter(textureFilter); in setTextureFilter() 192 void VertexProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter() argument 194 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setMipmapFilter() 196 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter() 201 void VertexProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable() argument 203 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setGatherEnable() 205 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setGatherEnable(enable); in setGatherEnable() 210 void VertexProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU() argument [all …]
|
D | PixelProcessor.cpp | 146 void PixelProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter() argument 148 if(sampler < TEXTURE_IMAGE_UNITS) in setTextureFilter() 150 context->sampler[sampler].setTextureFilter(textureFilter); in setTextureFilter() 155 void PixelProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter() argument 157 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapFilter() 159 context->sampler[sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter() 164 void PixelProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable() argument 166 if(sampler < TEXTURE_IMAGE_UNITS) in setGatherEnable() 168 context->sampler[sampler].setGatherEnable(enable); in setGatherEnable() 173 void PixelProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU() argument [all …]
|
D | VertexProcessor.hpp | 65 Sampler::State sampler[VERTEX_TEXTURE_IMAGE_UNITS]; member 143 void setTextureFilter(unsigned int sampler, FilterType textureFilter); 144 void setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter); 145 void setGatherEnable(unsigned int sampler, bool enable); 146 void setAddressingModeU(unsigned int sampler, AddressingMode addressingMode); 147 void setAddressingModeV(unsigned int sampler, AddressingMode addressingMode); 148 void setAddressingModeW(unsigned int sampler, AddressingMode addressingMode); 149 void setReadSRGB(unsigned int sampler, bool sRGB); 150 void setMipmapLOD(unsigned int sampler, float bias); 151 void setBorderColor(unsigned int sampler, const Color<float> &borderColor); [all …]
|
/external/skqp/src/sksl/ |
D | sksl.inc | 238 int textureSize($gsampler1D sampler, int lod); 239 int2 textureSize($gsampler2D sampler, int lod); 240 int3 textureSize($gsampler3D sampler, int lod); 241 int2 textureSize($gsamplerCube sampler, int lod); 242 int textureSize(sampler1DShadow sampler, int lod); 243 int2 textureSize(sampler2DShadow sampler, int lod); 244 int2 textureSize(samplerCubeShadow sampler, int lod); 245 int3 textureSize($gsamplerCubeArray sampler, int lod); 246 int3 textureSize(samplerCubeArrayShadow sampler, int lod); 248 int2 textureSize($gsampler2DRect sampler); [all …]
|
/external/skia/src/sksl/ |
D | sksl.inc | 306 int textureSize($gsampler1D sampler, int lod); 307 int2 textureSize($gsampler2D sampler, int lod); 308 int3 textureSize($gsampler3D sampler, int lod); 309 int2 textureSize($gsamplerCube sampler, int lod); 310 int textureSize(sampler1DShadow sampler, int lod); 311 int2 textureSize(sampler2DShadow sampler, int lod); 312 int2 textureSize(samplerCubeShadow sampler, int lod); 313 int3 textureSize($gsamplerCubeArray sampler, int lod); 314 int3 textureSize(samplerCubeArrayShadow sampler, int lod); 316 int2 textureSize($gsampler2DRect sampler); [all …]
|
/external/deqp/framework/common/ |
D | tcuTexture.hpp | 369 …Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) con… 370 …Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int d… 371 …Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float… 373 …Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVe… 374 …Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, … 375 …Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, … 377 …float sample1DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float… 378 …float sample2DCompare (const Sampler& sampler, Sampler::FilterMode filter, float ref, float… 456 … (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int lev… 457 … (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t… [all …]
|
D | tcuTexLookupVerifier.cpp | 39 static bool isSamplerSupported (const Sampler& sampler) in isSamplerSupported() argument 41 return sampler.compare == Sampler::COMPAREMODE_NONE && in isSamplerSupported() 42 isWrapModeSupported(sampler.wrapS) && in isSamplerSupported() 43 isWrapModeSupported(sampler.wrapT) && in isSamplerSupported() 44 isWrapModeSupported(sampler.wrapR); in isSamplerSupported() 56 inline Vector<ScalarType, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, … in lookup() argument 61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler); in lookup() 65 inline Vector<float, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, int i… in lookup() argument 74 return sampleTextureBorder<float>(access.getFormat(), sampler); in lookup() 101 static void lookupQuad (ColorQuad& dst, const ConstPixelBufferAccess& level, const Sampler& sampler… in lookupQuad() argument [all …]
|
D | tcuTexCompareVerifier.cpp | 38 static bool isSamplerSupported (const Sampler& sampler) in isSamplerSupported() argument 40 return sampler.compare != Sampler::COMPAREMODE_NONE && in isSamplerSupported() 41 isWrapModeSupported(sampler.wrapS) && in isSamplerSupported() 42 isWrapModeSupported(sampler.wrapT) && in isSamplerSupported() 43 isWrapModeSupported(sampler.wrapR); in isSamplerSupported() 134 static float lookupDepth (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler, int i,… in lookupDepth() argument 139 return sampleTextureBorder<float>(access.getFormat(), sampler).x(); in lookupDepth() 143 static float lookupDepthNoBorder (const tcu::ConstPixelBufferAccess& access, const Sampler& sampler… in lookupDepthNoBorder() argument 145 DE_UNREF(sampler); in lookupDepthNoBorder() 541 const Sampler& sampler, in isNearestCompareResultValid() argument [all …]
|
D | tcuTexLookupVerifier.hpp | 113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const Lookup… 114 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const Lookup… 115 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const Look… 116 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const Lo… 117 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const Lo… 118 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const Lookup… 119 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const L… 121 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… 122 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… 123 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, T… [all …]
|
D | tcuTexture.cpp | 1691 static inline Vec4 lookupBorder (const tcu::TextureFormat& format, const tcu::Sampler& sampler) in lookupBorder() argument 1704 return sampleTextureBorder<float>(format, sampler); in lookupBorder() 1706 return sampleTextureBorder<deInt32>(format, sampler).cast<float>(); in lookupBorder() 1708 return sampleTextureBorder<deUint32>(format, sampler).cast<float>(); in lookupBorder() 1740 static Vec4 sampleNearest1D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest1D() argument 1747 if (sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) in sampleNearest1D() 1748 return lookupBorder(access.getFormat(), sampler); in sampleNearest1D() 1750 int i = wrap(sampler.wrapS, x, width); in sampleNearest1D() 1755 static Vec4 sampleNearest2D (const ConstPixelBufferAccess& access, const Sampler& sampler, float u,… in sampleNearest2D() argument 1764 if ((sampler.wrapS == Sampler::CLAMP_TO_BORDER && !deInBounds32(x, 0, width)) || in sampleNearest2D() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 110 struct pipe_sampler_state *sampler) in st_convert_sampler() argument 112 memset(sampler, 0, sizeof(*sampler)); in st_convert_sampler() 113 sampler->wrap_s = gl_wrap_xlate(msamp->WrapS); in st_convert_sampler() 114 sampler->wrap_t = gl_wrap_xlate(msamp->WrapT); in st_convert_sampler() 115 sampler->wrap_r = gl_wrap_xlate(msamp->WrapR); in st_convert_sampler() 117 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); in st_convert_sampler() 118 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); in st_convert_sampler() 119 sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter); in st_convert_sampler() 122 sampler->normalized_coords = 1; in st_convert_sampler() 124 sampler->lod_bias = msamp->LodBias + tex_unit_lod_bias; in st_convert_sampler() [all …]
|
/external/swiftshader/src/D3D9/ |
D | Direct3DStateBlock9.cpp | 41 for(int sampler = 0; sampler < 16 + 4; sampler++) in Direct3DStateBlock9() local 43 texture[sampler] = 0; in Direct3DStateBlock9() 176 for(int sampler = 0; sampler < 16 + 4; sampler++) in Apply() local 180 if(samplerStateCaptured[sampler][state]) in Apply() 182 int index = sampler < 16 ? sampler : D3DVERTEXTEXTURESAMPLER0 + (sampler - 16); in Apply() 183 device->SetSamplerState(index, (D3DSAMPLERSTATETYPE)state, samplerState[sampler][state]); in Apply() 201 for(int sampler = 0; sampler < 16 + 4; sampler++) in Apply() local 203 if(textureCaptured[sampler]) in Apply() 205 int index = sampler < 16 ? sampler : D3DVERTEXTEXTURESAMPLER0 + (sampler - 16); in Apply() 206 device->SetTexture(index, texture[sampler]); in Apply() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 219 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) 221 FREE(sampler); 234 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; in draw_llvm_sampler_soa_emit_fetch_texel() local 241 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in draw_llvm_sampler_soa_emit_fetch_texel() 242 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in draw_llvm_sampler_soa_emit_fetch_texel() 243 &sampler->dynamic_state.base, in draw_llvm_sampler_soa_emit_fetch_texel() 256 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; in draw_llvm_sampler_soa_emit_size_query() local 261 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in draw_llvm_sampler_soa_emit_size_query() 262 &sampler->dynamic_state.base, in draw_llvm_sampler_soa_emit_size_query() 269 struct draw_llvm_sampler_soa *sampler; in draw_llvm_sampler_soa_create() local [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | reflection.cpp | 385 int mapSamplerToGlType(TSampler sampler) in mapSamplerToGlType() argument 387 if (! sampler.image) { in mapSamplerToGlType() 389 switch (sampler.type) { in mapSamplerToGlType() 391 switch ((int)sampler.dim) { in mapSamplerToGlType() 393 switch ((int)sampler.shadow) { in mapSamplerToGlType() 394 case false: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY : GL_SAMPLER_1D; in mapSamplerToGlType() 395 … case true: return sampler.arrayed ? GL_SAMPLER_1D_ARRAY_SHADOW : GL_SAMPLER_1D_SHADOW; in mapSamplerToGlType() 398 switch ((int)sampler.ms) { in mapSamplerToGlType() 400 switch ((int)sampler.shadow) { in mapSamplerToGlType() 401 case false: return sampler.arrayed ? GL_SAMPLER_2D_ARRAY : GL_SAMPLER_2D; in mapSamplerToGlType() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 272 swr_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) in SWR_SAMPLER_MEMBER() 274 FREE(sampler); in SWR_SAMPLER_MEMBER() 287 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base; in swr_sampler_soa_emit_fetch_texel() local 298 &sampler->dynamic_state.static_state[texture_index].texture_state, in swr_sampler_soa_emit_fetch_texel() 299 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in swr_sampler_soa_emit_fetch_texel() 300 &sampler->dynamic_state.base, in swr_sampler_soa_emit_fetch_texel() 314 struct swr_sampler_soa *sampler = (struct swr_sampler_soa *)base; in swr_sampler_soa_emit_size_query() local 320 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in swr_sampler_soa_emit_size_query() 321 &sampler->dynamic_state.base, in swr_sampler_soa_emit_size_query() 330 struct swr_sampler_soa *sampler; in swr_sampler_soa_create() local [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 240 lp_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) in lp_llvm_sampler_soa_destroy() argument 242 FREE(sampler); in lp_llvm_sampler_soa_destroy() 255 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; in lp_llvm_sampler_soa_emit_fetch_texel() local 267 lp_build_sample_soa(&sampler->dynamic_state.static_state[texture_index].texture_state, in lp_llvm_sampler_soa_emit_fetch_texel() 268 &sampler->dynamic_state.static_state[sampler_index].sampler_state, in lp_llvm_sampler_soa_emit_fetch_texel() 269 &sampler->dynamic_state.base, in lp_llvm_sampler_soa_emit_fetch_texel() 281 struct lp_llvm_sampler_soa *sampler = (struct lp_llvm_sampler_soa *)base; in lp_llvm_sampler_soa_emit_size_query() local 286 &sampler->dynamic_state.static_state[params->texture_unit].texture_state, in lp_llvm_sampler_soa_emit_size_query() 287 &sampler->dynamic_state.base, in lp_llvm_sampler_soa_emit_size_query() 295 struct lp_llvm_sampler_soa *sampler; in lp_llvm_sampler_soa_create() local [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.flattenOpaque.frag.out | 8 0:15 's' ( in structure{ temp sampler s2D}) 12 0:16 Construct combined texture-sampler ( temp sampler2D) 14 0:16 s2D: direct index for structure ( temp sampler) 15 0:16 's' ( in structure{ temp sampler s2D}) 23 0:20 's' ( in structure{ temp sampler s2D}) 28 0:21 Construct combined texture-sampler ( temp sampler2D) 30 0:21 s2D: direct index for structure ( temp sampler) 31 0:21 's' ( in structure{ temp sampler s2D}) 37 0:25 's' ( in structure{ temp sampler s2D, temp texture2D tex}) 41 0:26 Construct combined texture-sampler ( temp sampler2D) [all …]
|
D | vulkan.frag.out | 2 ERROR: 0:3: 'binding' : sampler/texture/image requires layout(binding=X) 3 ERROR: 0:4: 'binding' : sampler/texture/image requires layout(binding=X) 4 ERROR: 0:5: 'binding' : sampler/texture/image requires layout(binding=X) 5 ERROR: 0:6: 'binding' : sampler/texture/image requires layout(binding=X) 6 ERROR: 0:8: 'binding' : sampler/texture/image requires layout(binding=X) 7 ERROR: 0:9: 'binding' : sampler/texture/image requires layout(binding=X) 8 ERROR: 0:10: 'binding' : sampler/texture/image requires layout(binding=X) 9 ERROR: 0:14: 'sampler2D' : sampler-constructor requires two arguments 10 ERROR: 0:15: 'sampler2D' : sampler-constructor first argument must be a scalar textureXXX type 11 ERROR: 0:16: 'sampler2D' : sampler-constructor first argument must be a scalar textureXXX type [all …]
|
D | hlsl.flattenOpaqueInit.vert.out | 7 0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 11 0:6 Construct combined texture-sampler ( temp sampler2D) 13 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 16 0:6 smpl: direct index for structure ( temp sampler) 17 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 23 0:10 Function Definition: fillOpaque( ( temp structure{ temp sampler smpl, temp texture2D tex}) 26 0:12 move second child to first child ( temp sampler) 27 0:12 smpl: direct index for structure ( temp sampler) 28 0:12 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 31 0:12 'g_tInputTexture_sampler' ( uniform sampler) [all …]
|
D | hlsl.flattenSubset.frag.out | 10 0:33 move second child to first child ( temp sampler) 11 0:33 ss: direct index for structure ( temp sampler) 12 … s0: direct index for structure ( temp structure{ temp int x, temp int y, temp sampler ss}) 13 …( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int… 18 0:33 'samp' ( uniform sampler) 19 …( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int… 20 …( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int… 21 … temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int… 24 …( temp structure{ temp float b, temp sampler samplerState, temp structure{ temp int x, temp int… 27 0:35 Construct combined texture-sampler ( temp sampler2D) [all …]
|
D | hlsl.array.flatten.frag.out | 11 0:18 Construct combined texture-sampler ( temp sampler1D) 13 0:? 'g_samp[1]' ( uniform sampler) 19 0:22 'l_samp' ( in 3-element array of sampler) 23 0:23 Construct combined texture-sampler ( temp sampler1D) 28 0:23 direct index ( temp sampler) 29 0:23 'l_samp' ( in 3-element array of sampler) 49 0:33 move second child to first child ( temp sampler) 50 0:33 direct index ( temp sampler) 51 0:33 'local_sampler_array' ( temp 3-element array of sampler) 54 0:? 'g_samp[0]' ( uniform sampler) [all …]
|
D | hlsl.aliasOpaque.frag.out | 8 0:12 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 13 0:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 17 0:13 Construct combined texture-sampler ( temp sampler2D) 19 0:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 22 0:13 ss: direct index for structure ( temp sampler) 23 0:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 32 0:19 move second child to first child ( temp sampler) 33 0:19 ss: direct index for structure ( temp sampler) 34 0:19 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 37 0:19 'gss2' ( uniform sampler) [all …]
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 180 const char* sampler = DE_NULL; in getProgram() local 187 …case PROGRAM_2D_FLOAT: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord)"; … in getProgram() 188 …case PROGRAM_2D_INT: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))";… in getProgram() 189 …case PROGRAM_2D_UINT: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord))"… in getProgram() 190 …case PROGRAM_2D_SHADOW: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(v_t… in getProgram() 191 …case PROGRAM_2D_FLOAT_BIAS: sampler = "sampler2D"; lookup = "texture(u_sampler, v_texCoord, u_… in getProgram() 192 …case PROGRAM_2D_INT_BIAS: sampler = "isampler2D"; lookup = "vec4(texture(u_sampler, v_texCoord… in getProgram() 193 …case PROGRAM_2D_UINT_BIAS: sampler = "usampler2D"; lookup = "vec4(texture(u_sampler, v_texCoor… in getProgram() 194 …case PROGRAM_2D_SHADOW_BIAS: sampler = "sampler2DShadow"; lookup = "vec4(texture(u_sampler, vec3(… in getProgram() 195 …case PROGRAM_1D_FLOAT: sampler = "sampler1D"; lookup = "texture(u_sampler, v_texCoord)"; … in getProgram() [all …]
|
/external/swiftshader/src/Renderer/ |
D | VertexProcessor.cpp | 515 void VertexProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter() argument 517 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setTextureFilter() 519 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setTextureFilter(textureFilter); in setTextureFilter() 524 void VertexProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter() argument 526 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setMipmapFilter() 528 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter() 533 void VertexProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable() argument 535 if(sampler < VERTEX_TEXTURE_IMAGE_UNITS) in setGatherEnable() 537 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setGatherEnable(enable); in setGatherEnable() 542 void VertexProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU() argument [all …]
|
D | PixelProcessor.cpp | 360 void PixelProcessor::setTextureFilter(unsigned int sampler, FilterType textureFilter) in setTextureFilter() argument 362 if(sampler < TEXTURE_IMAGE_UNITS) in setTextureFilter() 364 context->sampler[sampler].setTextureFilter(textureFilter); in setTextureFilter() 369 void PixelProcessor::setMipmapFilter(unsigned int sampler, MipmapType mipmapFilter) in setMipmapFilter() argument 371 if(sampler < TEXTURE_IMAGE_UNITS) in setMipmapFilter() 373 context->sampler[sampler].setMipmapFilter(mipmapFilter); in setMipmapFilter() 378 void PixelProcessor::setGatherEnable(unsigned int sampler, bool enable) in setGatherEnable() argument 380 if(sampler < TEXTURE_IMAGE_UNITS) in setGatherEnable() 382 context->sampler[sampler].setGatherEnable(enable); in setGatherEnable() 387 void PixelProcessor::setAddressingModeU(unsigned int sampler, AddressingMode addressMode) in setAddressingModeU() argument [all …]
|