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

Side by Side 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 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
2
3 attribute vec4 c; 1 attribute vec4 c;
4 varying vec4 v1; 2 varying vec4 v1;
5 3
6 void main() { 4 void main() {
7 gl_Position = c; 5 gl_Position = c;
8 #if I915_WORKAROUND 6 #if defined(I915_WORKAROUND)
9 gl_TexCoord[0] = c; 7 gl_TexCoord[0] = c;
10 #else 8 #else
11 v1 = c; 9 v1 = c;
12 #endif 10 #endif
13 } 11 }
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