aboutsummaryrefslogtreecommitdiffstats
path: root/scons/x11.py
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-03-28 00:18:46 -0700
committerEric Anholt <[email protected]>2013-03-28 11:46:44 -0700
commit9fe47756b357c650fd0910496f7c3e6db47ce80c (patch)
tree65192d586193de35d64cc0723ffb69925c9eeeeb /scons/x11.py
parent6192e9b377c6fa4f36da42af6c06ca32b10e7e62 (diff)
i965: Tidy shader time printing code by using printf's field widths.
We can use %-6s%-6s rather than manually counting characters, resulting in much more readable code. This necessitates a small secondary change: using "total fs16" and "" now causes the "" string to be padded out to 6 characters, resulting in too much whitespace. Splitting it into "total" and "fs16" produces the same output as before. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'scons/x11.py')
0 files changed, 0 insertions, 0 deletions