diff options
author | Juha-Pekka Heikkila <[email protected]> | 2015-10-21 12:09:21 +0300 |
---|---|---|
committer | Juha-Pekka Heikkila <[email protected]> | 2015-11-02 10:03:32 +0200 |
commit | c2c124f89194fe33af522f090aa8e71f2c3aa474 (patch) | |
tree | de030222f2d5d77642602a70ed8a86ae62fe26ce /scons/dxsdk.py | |
parent | af7c98a9c75b17fc8c8ed0989aa732766e5b06d1 (diff) |
glsl: join calculate_array_size() and calculate_array_stride()
These helpers are ran for same case the same loop. Here joined
their operation so the loop is ran just once. Also fixed
out-of-memory condition here.
v2: Make the loop simpler to read as per Tapani's suggestion
Signed-off-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Tested-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'scons/dxsdk.py')
0 files changed, 0 insertions, 0 deletions