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

Side by Side Diff: client/deps/glbench/src/yuv2rgb_1.glslv

Issue 862004: glbench: pass the right flag so that src doesn't get pruned (Closed)
Patch Set: Created 10 years, 9 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #define I915_WORKAROUND 1 1 #define I915_WORKAROUND 1
2 2
3 attribute vec4 c; 3 attribute vec4 c;
4 varying vec4 v1; 4 varying vec4 v1;
5 5
6 void main() { 6 void main() {
7 gl_Position = c; 7 gl_Position = c;
8 #if I915_WORKAROUND 8 #if I915_WORKAROUND
9 gl_TexCoord[0] = c; 9 gl_TexCoord[0] = c;
10 #else 10 #else
11 v1 = c; 11 v1 = c;
12 #endif 12 #endif
13 } 13 }
OLDNEW
« 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