mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-14 22:00:28 +01:00
mesa/vbo: Replace the usage of cpu_has_sse4_1 with util_get_cpu_caps()->has_sse4_1 in vbo/vbo_minmax_index.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19564>
This commit is contained in:
parent
b84678ea28
commit
7436669d55
1 changed files with 2 additions and 2 deletions
|
|
@ -27,11 +27,11 @@
|
|||
*/
|
||||
|
||||
#include "util/glheader.h"
|
||||
#include "util/u_cpu_detect.h"
|
||||
#include "main/context.h"
|
||||
#include "main/varray.h"
|
||||
#include "main/macros.h"
|
||||
#include "main/sse_minmax.h"
|
||||
#include "x86/common_x86_asm.h"
|
||||
#include "util/hash_table.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "pipe/p_state.h"
|
||||
|
|
@ -249,7 +249,7 @@ vbo_get_minmax_index_mapped(unsigned count, unsigned index_size,
|
|||
}
|
||||
else {
|
||||
#if defined(USE_SSE41)
|
||||
if (cpu_has_sse4_1) {
|
||||
if (util_get_cpu_caps()->has_sse4_1) {
|
||||
_mesa_uint_array_min_max(ui_indices, &min_ui, &max_ui, count);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue