Skip to content

Commit

Permalink
disable TIgnoreSampler for advanced-telemetry debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed May 17, 2013
1 parent 8fd9b87 commit 04d9ef7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hxsl/Shader.hx
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ class ShaderGlobals {
}
if( hasConfig )
texHasConfig[v.index] = true;
#if !advanced_telemetry
// disable using TIgnoreSampler until Adobe Scout supports it
else if( !hasSampler )
mode.push({ f : CTFlag(TIgnoreSampler), p : v.pos });
mode.push( { f : CTFlag(TIgnoreSampler), p : v.pos } );
#end
default:
}
Tools.iter(v, lookupTextureAccess);
Expand Down

0 comments on commit 04d9ef7

Please sign in to comment.