diff options
Diffstat (limited to 'src/sksl/sksl.include')
-rw-r--r-- | src/sksl/sksl.include | 57 |
1 files changed, 4 insertions, 53 deletions
diff --git a/src/sksl/sksl.include b/src/sksl/sksl.include index d7b632657e..fc5e40f87d 100644 --- a/src/sksl/sksl.include +++ b/src/sksl/sksl.include @@ -301,14 +301,10 @@ $gvec4 subpassLoad(gsubpassInputMS subpass, int sample); STRINGIFY( -$gvec4 textureProj($gsampler1D sampler, vec2 P); -$gvec4 textureProj($gsampler1D sampler, vec2 P, float bias); -$gvec4 textureProj($gsampler1D sampler, vec4 P); -$gvec4 textureProj($gsampler1D sampler, vec4 P, float bias); -$gvec4 textureProj($gsampler2D sampler, vec3 P); -$gvec4 textureProj($gsampler2D sampler, vec3 P, float bias); -$gvec4 textureProj($gsampler2D sampler, vec4 P); -$gvec4 textureProj($gsampler2D sampler, vec4 P, float bias); +$gvec4 texture($gsampler1D sampler, vec2 P); +$gvec4 texture($gsampler1D sampler, vec2 P, float bias); +$gvec4 texture($gsampler2D sampler, vec3 P); +$gvec4 texture($gsampler2D sampler, vec3 P, float bias); /* $gvec4 textureProj($gsampler3D sampler, vec4 P); $gvec4 textureProj($gsampler3D sampler, vec4 P, float bias); @@ -482,51 +478,6 @@ $gvec4 textureGatherOffsets($gsampler2DRect sampler, vec2 P, ivec2 offsets[4], i vec4 textureGatherOffsets(sampler2DShadow sampler, vec2 P, float refZ, ivec2 offsets[4]); vec4 textureGatherOffsets(sampler2DArrayShadow sampler, vec3 P, float refZ, ivec2 offsets[4]); vec4 textureGatherOffsets(sampler2DRectShadow sampler, vec2 P, float refZ, ivec2 offsets[4]); -*/ -vec4 texture1D(sampler1D sampler, float coord); -vec4 texture1D(sampler1D sampler, float coord, float bias); -/* -vec4 texture1DProj(sampler1D sampler, vec2 coord); -vec4 texture1DProj(sampler1D sampler, vec2 coord, float bias); -vec4 texture1DProj(sampler1D sampler, vec4 coord); -vec4 texture1DProj(sampler1D sampler, vec4 coord, float bias); -vec4 texture1DLod(sampler1D sampler, float coord, float lod); -vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); -vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod); -*/ -vec4 texture2D(sampler2D sampler, vec2 coord); -ivec4 texture2D(isampler2D sampler, vec2 coord); -vec4 texture2D(samplerExternalOES sampler, vec2 coord); -vec4 texture2D(sampler2D sampler, vec2 coord, float bias); -vec4 texture2DProj(sampler2D sampler, vec3 coord); -/* -vec4 texture2DProj(sampler2D sampler, vec3 coord, float bias); -vec4 texture2DProj(sampler2D sampler, vec4 coord); -vec4 texture2DProj(sampler2D sampler, vec4 coord, float bias); -vec4 texture2DLod(sampler2D sampler, vec2 coord, float lod); -vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod); -vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod); -vec4 texture3D(sampler3D sampler, vec3 coord); -vec4 texture3D(sampler3D sampler, vec3 coord, float bias); -vec4 texture3DProj(sampler3D sampler, vec4 coord); -vec4 texture3DProj(sampler3D sampler, vec4 coord, float bias); -vec4 texture3DLod(sampler3D sampler, vec3 coord, float lod); -vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod); -vec4 textureCube(samplerCube sampler, vec3 coord); -vec4 textureCube(samplerCube sampler, vec3 coord, float bias); -vec4 textureCubeLod(samplerCube sampler, vec3 coord, float lod); -vec4 shadow1D(sampler1DShadow sampler, vec3 coord); -vec4 shadow1D(sampler1DShadow sampler, vec3 coord, float bias); -vec4 shadow2D(sampler2DShadow sampler, vec3 coord); -vec4 shadow2D(sampler2DShadow sampler, vec3 coord, float bias); -vec4 shadow1DProj(sampler1DShadow sampler, vec4 coord); -vec4 shadow1DProj(sampler1DShadow sampler, vec4 coord, float bias); -vec4 shadow2DProj(sampler2DShadow sampler, vec4 coord); -vec4 shadow2DProj(sampler2DShadow sampler, vec4 coord, float bias); -vec4 shadow1DLod(sampler1DShadow sampler, vec3 coord, float lod); -vec4 shadow2DLod(sampler2DShadow sampler, vec3 coord, float lod); -vec4 shadow1DProjLod(sampler1DShadow sampler, vec4 coord, float lod); -vec4 shadow2DProjLod(sampler2DShadow sampler, vec4 coord, float lod); uint atomicCounterIncrement(atomic_uint c); uint atomicCounter(atomic_uint c); uint atomicAdd(inout uint mem, uint data); |