Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1871)

Issue 6302070: Removing unnecessary temporary variable(sum) in fragmentshader

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by kondapallykalyan
Modified:
12 years, 1 month ago
Reviewers:
bsalomon, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Removing unnecessary temporary variable(sum) in fragmentshader

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M src/gpu/effects/GrConvolutionEffect.cpp View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 5
kondapallykalyan
12 years, 1 month ago (2012-06-13 00:04:31 UTC) #1
bsalomon
Adding Tom who wrote this code. I know that some shader compilers are pretty light ...
12 years, 1 month ago (2012-06-13 12:37:39 UTC) #2
TomH
https://codereview.appspot.com/6302070/diff/1/src/gpu/effects/GrConvolutionEffect.cpp File src/gpu/effects/GrConvolutionEffect.cpp (right): https://codereview.appspot.com/6302070/diff/1/src/gpu/effects/GrConvolutionEffect.cpp#newcode105 src/gpu/effects/GrConvolutionEffect.cpp:105: code->appendf(state->fModulate.c_str()); Brian's right; the patch as submitted fails out/Debug/tests ...
12 years, 1 month ago (2012-06-13 12:52:43 UTC) #3
kondapallykalyan
On 2012/06/13 12:52:43, TomH wrote: > https://codereview.appspot.com/6302070/diff/1/src/gpu/effects/GrConvolutionEffect.cpp > File src/gpu/effects/GrConvolutionEffect.cpp (right): > > https://codereview.appspot.com/6302070/diff/1/src/gpu/effects/GrConvolutionEffect.cpp#newcode105 > ...
12 years, 1 month ago (2012-06-13 17:56:17 UTC) #4
TomH
12 years, 1 month ago (2012-06-13 18:13:04 UTC) #5
Even with -repeat 1000, the GPU tests can see 1% noise, but we'll go ahead and
take the change. Thanks for contributing!

Committed with r4250.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b