Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: client/deps/glbench/src/yuv2rgb_1.glslv

Issue 2152003: Moved selection of I915 hack out of the YUV shader. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/deps/glbench/src/yuv2rgb_1.glslf ('k') | client/deps/glbench/src/yuv2rgb_2.glslf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/yuv2rgb_1.glslv
diff --git a/client/deps/glbench/src/yuv2rgb_1.glslv b/client/deps/glbench/src/yuv2rgb_1.glslv
index bee9e8a5f64f20a39712d13e1373043b01cf3c14..0f7407dbc8625e7cea3e6a0ec8da6220d932bd67 100644
--- a/client/deps/glbench/src/yuv2rgb_1.glslv
+++ b/client/deps/glbench/src/yuv2rgb_1.glslv
@@ -1,11 +1,9 @@
-#define I915_WORKAROUND 1
-
attribute vec4 c;
varying vec4 v1;
void main() {
gl_Position = c;
-#if I915_WORKAROUND
+#if defined(I915_WORKAROUND)
gl_TexCoord[0] = c;
#else
v1 = c;
« no previous file with comments | « client/deps/glbench/src/yuv2rgb_1.glslf ('k') | client/deps/glbench/src/yuv2rgb_2.glslf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698