OSDN Git Service

glsl: Use properly typed arguments for bitfieldInsert.
authorMatt Turner <mattst88@gmail.com>
Fri, 25 Apr 2014 19:22:22 +0000 (12:22 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 26 Apr 2014 02:24:39 +0000 (19:24 -0700)
commit18993f78920b89234b8a7a96f04bb51892f299f3
tree864e4d9b33c2b299285e448623cdd8640f4d2d1d
parent07730e9463637a62e41a9783374102b4181ba960
glsl: Use properly typed arguments for bitfieldInsert.

bitfieldInsert takes scalar integers for its last two arguments. Since
bitfieldInsert is lowered on i965 to two instructions that have more
flexible arguments, I didn't notice when I wrote this.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/lower_instructions.cpp