Krzysztof Raszkowski
689817c9df
gallium/swr: simplify environmental variabled expansion code
...
There were 2 versions of code doing the same thing.
Since std::regexp are locale-sensitive better is to leave old
good way to do this.
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3761 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3761 >
2020-02-10 17:10:47 +01:00
Vinson Lee
deb2bbf57e
swr: Fix GCC 4.9 checks.
...
Fixes: f0a22956be ("swr/rast: _mm*_undefined_* implementations for gcc<4.9")
Fixes: e21fc2c625 ("swr/rast: non-regex knob fallback code for gcc < 4.9")
Signed-off-by: Vinson Lee <vlee@freedesktop.org >
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com >
2020-02-05 19:39:13 -08:00
Jan Zielinski
387599a661
swr/rasterizer: Refactor events collection mechanism
...
Several improvements and cleanups in events and statstics mechanisms
Reviewed-by: Alok Hota <alok.hota@intel.com >
2019-08-08 11:15:07 +02:00
Alok Hota
dc7b3c95a4
swr/rast: Move knob defaults to generated cpp file
...
Reduces amount of compile churn when testing different default values
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2019-02-15 14:54:04 -06:00
Alok Hota
a678f40e46
swr/rast: Clang-Format most rasterizer source code
...
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2018-06-18 13:57:38 -05:00
George Kyriazis
dfe4dd48ec
swr/rast: Updated copyright dates
...
on knob-related files.
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2018-01-25 13:26:49 -06:00
Tim Rowley
844be91e70
swr/rast: split gen_knobs templates into .h/.cpp
...
Switch to a 1:1 mapping template:generated for future maintenance.
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-08-02 11:39:33 -05:00
Tim Rowley
4c5b4f3f78
swr/rast: gen_knobs template code style
...
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-08-02 11:39:33 -05:00
Tim Rowley
fb3e50a351
swr/rast: switch gen_knobs.cpp license
...
Unintentionally added with an apache2 license; relicense to match
the rest of the tree.
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-08-02 11:39:33 -05:00
Tim Rowley
e21fc2c625
swr/rast: non-regex knob fallback code for gcc < 4.9
...
gcc prior to 4.9 didn't implement <regex>, causing a startup crash
in the swr knob parameter reading code.
CC: <mesa-stable@lists.freedesktop.org >
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-07-27 08:31:21 -05:00
Tim Rowley
0e1e5a2b14
swr/rast: adjust std::string usage to fix build
...
Some combinations of c++ compilers and standard libraries had problems
with the string::replace code we were using previously.
This should fix the travis-ci system.
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com >
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-06-26 11:29:27 -05:00
Tim Rowley
a25093de71
swr/rast: Implement JIT shader caching to disk
...
Disabled by default; currently doesn't cache shaders (fs,gs,vs).
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-06-16 16:20:16 -05:00
Tim Rowley
fe325e6423
swr: [rasterizer] Cleanup naming of codegen files
...
All template files and generated files are prefixed with gen_.
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com >
2017-03-20 18:05:54 -05:00