summaryrefslogtreecommitdiffstats
path: root/configs/sunos5-v8-static
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-07-09 07:58:50 -0600
committerBrian Paul <[email protected]>2009-07-09 07:58:50 -0600
commitc86b0766681f986951e53ea852858eb8d6ce9e32 (patch)
treeb2f10a30dab295f7009ce45bc3d147c5f05b2f90 /configs/sunos5-v8-static
parentabdb0fdcc05eb9ec87b3d5a3226c3c190e1fbbcd (diff)
glsl: do const parameter optimization for array element actual parameters
When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment.
Diffstat (limited to 'configs/sunos5-v8-static')
0 files changed, 0 insertions, 0 deletions