Remove lod argument from texture2DRect built-ins. (Submission from matt.helsley)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28440 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
e91cde52cb
commit
758c15720d
3 changed files with 166 additions and 2 deletions
|
|
@ -2074,7 +2074,7 @@ void TBuiltIns::addSamplingFunctions(TSampler sampler, TString& typeName, int ve
|
|||
continue;
|
||||
|
||||
// non-optional lod argument (lod that's not driven by lod loop)
|
||||
if (fetch && sampler.dim != EsdBuffer && !sampler.ms)
|
||||
if (fetch && sampler.dim != EsdBuffer && sampler.dim != EsdRect && !sampler.ms)
|
||||
s.append(",int");
|
||||
|
||||
// non-optional lod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue