Patent ID: 9430869
Filing Date: 2016-08-30
CPC Classification: G06T

Claim Text:
1. A computer-implemented method comprising: receiving, in a computer, shader programming code that is configured to modify an appearance of an image, the shader programming code when received including a plurality of shader expressions; receiving input that identifies at least a first shader expression as a static expression to be evaluated as part of executing the shader programming code; identifying a second shader expression as a dynamic expression; generating intermediate values from an evaluation of the first static expression; determining that the generated intermediate values are uniform by identifying that the intermediate values are within a predetermined level of tolerance of each other; associating the first static expression with a single representation of the uniform intermediate values, the associating providing that the single representation will be used in place of the first static expression when the shader programming code is executed; storing the single representation of the uniform intermediate values in a buffer accessible to an image rendering application configured to execute the shader programming code; accessing, by the image rendering application, the uniform intermediate values by using the stored single representation; evaluating the dynamic expression using the accessed uniform intermediate values; and generating a final image by the image rendering application by using the evaluated dynamic expression and the accessed uniform intermediate values.