Erik Faye-Lund
1b53fb625e
gallium: use c++11 alignas instead of PIPE_ALIGN_VAR
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908 >
2022-06-14 15:08:38 +00:00
Timur Kristóf
2d35857705
gallium/tessellator: Fix uninitialized variable warnings.
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10806 >
2021-05-20 17:11:22 +00:00
Alyssa Rosenzweig
5b6ed24cb8
gallium/tessellator: Rename D3D11 defines
...
We're Gallium, c'mon!
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9118 >
2021-02-21 22:17:35 +00:00
Alyssa Rosenzweig
248a5a330d
gallium/tessellator: Remove unused includes
...
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9118 >
2021-02-21 22:17:35 +00:00
Alyssa Rosenzweig
bca9e7fe23
gallium/tessellator: Remove XBOX 360 code
...
Unused.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9118 >
2021-02-21 22:17:35 +00:00
James Park
3c7062417b
gallium/tessellator: Fix warning suppression
...
Single-line version of MSVC warning suppression does not extend beyond
the #endif directive. Use push/disable/pop instead.
Also suppress 26452, which is a similar analysis warning.
This could also be fixed with constexpr if, but C++17 would be required.
Fixes: 790516db0b
("gallium/swr: fix gcc warnings")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8093 >
2021-01-29 05:17:38 +00:00
Pierre-Eric Pelloux-Prayer
8d347742fe
tesselator: remove unused variable
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7846 >
2021-01-05 11:29:11 +00:00
Michel Zou
2c94a9788e
swr: fix build with mingw
...
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
Tested-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com>
Cc: mesa-stable
closes #3454
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6532 >
2020-09-07 14:34:07 +00:00
Dave Airlie
bb2287ccdf
gallivm/tessellator: use private functions for min/max to avoid namespace issues
...
Different builds are failing because of namespace collisions here.
Just fix the MS code to avoid it.
Fixes: bd0188f9ea
("gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2586
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4016 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4016 >
2020-03-03 07:30:07 +10:00
Dave Airlie
bd0188f9ea
gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.
...
This adds the same tessellator code that swr uses, swr should
move to using this copy, unfortunately that wasn't trivial on my first
look.
The p_tessellator wrapper wraps it in a form that is a useful interface
for draw.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841 >
2020-02-28 18:33:34 +10:00