aboutsummaryrefslogtreecommitdiff
path: root/glslang/MachineIndependent/Intermediate.cpp
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2013-02-21 02:18:42 +0000
committerJohn Kessenich <cepheus@frii.com>2013-02-21 02:18:42 +0000
commite141d5c99c95d06a246d9d5c4f400e2e63598623 (patch)
treec0d23f4f6246e0182f6c6ff555931c762d0325db /glslang/MachineIndependent/Intermediate.cpp
parente396a22632fc84be0b75f0366e3d35ebda7f1e43 (diff)
downloadglslang-e141d5c99c95d06a246d9d5c4f400e2e63598623.tar.gz
Replace flat 110 sampler type space with an orthogonalized 430 sampler type space. Invoke it for all the sampler types in the 4.3 grammar.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20652 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'glslang/MachineIndependent/Intermediate.cpp')
-rw-r--r--glslang/MachineIndependent/Intermediate.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/glslang/MachineIndependent/Intermediate.cpp b/glslang/MachineIndependent/Intermediate.cpp
index 551454c5..8273bf41 100644
--- a/glslang/MachineIndependent/Intermediate.cpp
+++ b/glslang/MachineIndependent/Intermediate.cpp
@@ -347,14 +347,7 @@ TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TInt
//
switch (node->getBasicType()) {
case EbtVoid:
- case EbtSampler1D:
- case EbtSampler2D:
- case EbtSampler3D:
- case EbtSamplerCube:
- case EbtSampler1DShadow:
- case EbtSampler2DShadow:
- case EbtSamplerRect: // ARB_texture_rectangle
- case EbtSamplerRectShadow: // ARB_texture_rectangle
+ case EbtSampler:
return 0;
default: break;
}