Change texdisplay.frag shader to be work with LunarG intel icd compiler

This commit is contained in:
baldurk
2016-02-07 18:43:13 +01:00
parent 1fd3d4ba29
commit 2c0751c338
+2 -6
View File
@@ -73,11 +73,7 @@ void main(void)
vec4 col = textureLod(tex, scr.xy / texdisplay.TextureResolutionPS.xy, float(texdisplay.MipLevel));
if(texdisplay.RawOutput != 0)
{
color_out = col;
return;
}
vec4 rawcol = col;
// RGBM encoding
if(texdisplay.HDRMul > 0.0f)
@@ -107,5 +103,5 @@ void main(void)
}
}
color_out = col;
color_out = (texdisplay.RawOutput != 0 ? rawcol : col);
}