Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-07-13 | run.py: Stop counting ignored lines | Dylan Baker | 1 | -3/+1 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | run.py: Replace process_directories with a generator | Dylan Baker | 1 | -13/+12 | |
Previously process_directories was a function that operated on a toplevel directory recursively. This replacment uses os.walk() and is a generator, which reduces memory consumption and is lazy. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | split-to-files.py: cleanup pylint warnings | Dylan Baker | 1 | -17/+20 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | run.py: Cleanup pylint warnings | Dylan Baker | 1 | -16/+16 | |
Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | report.py: Fix PEP8 issues | Dylan Baker | 1 | -11/+17 | |
Changes: - uses rawstrings (r'foo') for regex strings - compare to None using 'is' and 'is not' - break long lines - fix hanging indents Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | split-to-files.py: Replace getopt with argparse | Dylan Baker | 1 | -30/+8 | |
v2 (Ken): Tweak --help descriptions slightly. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | report.py: use argparse instead of getopt | Dylan Baker | 1 | -38/+13 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | run.py: use argparse instead of getopt | Dylan Baker | 1 | -27/+10 | |
argparse.ArgumentParser() is a modern way of parser argument in python, it's object oriented, clean, and provides lots of nice features. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | python: 2 blanks between toplevel functions and classes | Dylan Baker | 3 | -0/+19 | |
This is PEP8 sytle Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | python: cleanup imports | Dylan Baker | 3 | -7/+6 | |
Split imports one module per line and remove any unused imports. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | python: Replace tabs with spaces | Dylan Baker | 3 | -3/+3 | |
Python3 doesn't allow mixed tabs and spaces. Its surprising that this code doesn't raise a runtime exception as is Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> | |||||
2014-07-13 | shaders/yofrankie/120.shader_test: fix compiliation | Dylan Baker | 1 | -397/+0 | |
2014-07-13 | shaders/sauerbraten/2.shader_test: fix compilation | Dylan Baker | 1 | -3/+0 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> | |||||
2014-07-13 | shaders/sauerbraten/11.shader_test: fix compilation | Dylan Baker | 1 | -7/+0 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> | |||||
2014-07-13 | shaders/nexuiz/115.shader_test: Fix compilation | Dylan Baker | 1 | -5/+0 | |
2014-07-13 | shaders/anholt/18.shader_test: fix shader to compile | Dylan Baker | 1 | -4/+0 | |
2014-07-13 | shaders/0ad/12.shader_test: fix shader to compile | Dylan Baker | 1 | -14/+0 | |
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> | |||||
2014-07-13 | Update Warsow shaders to 1.5.0. | Kenneth Graunke | 91 | -8676/+155342 | |
$ warsow +timedemo 1 +cg_showFPS 1 +cl_checkForUpdate 0 \ +demo pts1 +next "quit" | |||||
2014-02-21 | Update the parsing for a mesa patch I'm sending out for review. | Eric Anholt | 1 | -4/+4 | |
2014-02-14 | Fetch timeafter when the compilation is done. | Markus Wick | 1 | -6/+2 | |
Popen returns when the new process is opened, not when it's done. | |||||
2014-02-14 | Add layout in dolphin fragment shader to use GL_ARB_blend_func_extended. | Markus Wick | 1 | -2/+3 | |
2014-02-14 | Add dolphin-emu shaders. | Markus Wick | 12 | -0/+1487 | |
2014-02-14 | Show off a "new" feature of ./run.py in the readme. | Eric Anholt | 1 | -1/+4 | |
2014-02-14 | Update the README to use the current utils syntax. | Markus Wick | 1 | -3/+3 | |
2013-11-20 | Add the orbital-explorer shaders that Paul sent me. | Eric Anholt | 1 | -0/+636 | |
2013-11-20 | Add support for counting geometry shader instructions. | Eric Anholt | 1 | -1/+5 | |
Tested on orbital-explorer. | |||||
2013-11-15 | Add parsing support for a change I'm planning on proposing to Mesa. | Eric Anholt | 1 | -2/+2 | |
2013-11-01 | Skip counting the second pair of an instruction in 16-wide mode. | Eric Anholt | 1 | -1/+7 | |
Generally we want our count to approximate time, and the two SIMD8 instructions are same time as a SIMD16 instruction, except for the cost to instruction cache pressure. This pattern happens for MAD and LRP a lot, and there are other cases, too. Double-counting these meant that we basically couldn't use shader-db to validate optimizations involving those instructions. | |||||
2013-10-14 | Summarize the count of shaders lost/gained. | Eric Anholt | 1 | -1/+2 | |
2013-04-09 | Add shaders from sauerbraten. | Eric Anholt | 5 | -0/+85 | |
The app mostly uses ARB programs, so there's not much here. | |||||
2013-04-09 | Add shaders from warzone2100. | Eric Anholt | 3 | -0/+155 | |
2013-04-09 | Add the shaders dumped in my supertuxkart runs. | Eric Anholt | 3 | -0/+101 | |
They have more shaders, but they don't seem to be used. | |||||
2013-04-09 | Convert yofrankie to shader_tests. | Eric Anholt | 88 | -865/+1517 | |
2013-04-09 | Convert warsow to .shader_tests. | Eric Anholt | 86 | -13201/+13343 | |
2013-04-09 | Update 0 A.D. shaders. | Eric Anholt | 6 | -90/+479 | |
2013-04-08 | Fix output when a shader fails to compile. | Eric Anholt | 1 | -1/+1 | |
2013-04-08 | Default to testing all of shaders/. | Eric Anholt | 1 | -1/+1 | |
2013-04-08 | Allow whole directories to be passed to run.py | Eric Anholt | 1 | -2/+15 | |
2013-04-08 | Fix up formatting a bit | Eric Anholt | 1 | -3/+3 | |
2013-03-25 | report.py: Also port to Python 3. | Kenneth Graunke | 1 | -19/+12 | |
Aside from the usual print() changes, this requires converting the hurt list sorting from the "cmp" method (which was removed) to the "key" approach. | |||||
2013-03-25 | run.py: Use RE object methods directly. | Kenneth Graunke | 1 | -5/+5 | |
If you compile regular expressions, you're supposed to invoke them like this. I guess the other way works but usually those functions are only used with non-compiled pattern strings. | |||||
2013-03-25 | Remove debug code that slipped into the report. | Eric Anholt | 1 | -1/+0 | |
2013-03-25 | Report a time for the execution of each shader test. | Eric Anholt | 1 | -1/+7 | |
This can be useful for looking at startup time optimization. If you just sysprof a whole run.py, all you learn is that we spend a lot of time in reading builtins for all those short shaders. | |||||
2013-03-25 | Make the report script handle extra whitespace in the run.py output. | Eric Anholt | 1 | -1/+2 | |
2013-03-25 | Print the runtime of the runner script. | Eric Anholt | 1 | -1/+6 | |
I often wonder about this after the fact, and it's slow enough that running again under "time" sucks. | |||||
2013-03-25 | run.py: Set the environment variable for the unigine workaround. | Eric Anholt | 1 | -0/+1 | |
2013-03-22 | humus: Replace with shader_test files. | Eric Anholt | 85 | -2013/+2394 | |
2013-03-22 | anholt: Switch the shaders from my demo to shader_test files. | Eric Anholt | 9 | -31/+177 | |
2013-03-22 | nexuiz: Replace individual shaders with shader_test files. | Eric Anholt | 69 | -28442/+123204 | |
2013-03-22 | run.py: Ignore instructions from builtin shaders. | Eric Anholt | 1 | -1/+9 | |
i965's clear metaops shader shouldn't count against each program. |