Skip to content

Commit cc6db0d

Browse files
committed
mesa 23.2.1
1 parent 99daced commit cc6db0d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

build.cmd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setlocal enabledelayedexpansion
33

44
set LLVM_VERSION=17.0.1
5-
set MESA_VERSION=23.1.8
5+
set MESA_VERSION=23.2.1
66

77
set PATH=%CD%\llvm\bin;%CD%\winflexbison;%PATH%
88

@@ -95,8 +95,6 @@ curl -sfL https://archive.mesa3d.org/mesa-%MESA_VERSION%.tar.xz ^
9595
| %SZIP% x -bb0 -ttar -si -aoa 1>nul 2>nul
9696
move mesa-%MESA_VERSION% mesa.src
9797
git apply -p0 --directory=mesa.src mesa.patch || exit /b 1
98-
curl -sfLO https://gitlab.freedesktop.org/mesa/mesa/-/commit/9ba416cdc6.patch || exit /b 1
99-
git apply --directory=mesa.src 9ba416cdc6.patch || exit /b 1
10098

10199
echo Downloading win_flex_bison
102100
if not exist winflexbison (

mesa.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ index 250b528..5e9e617 100644
3838
if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
3939
llvm_modules += ['amdgpu', 'bitreader', 'ipo']
4040
diff --git src/gallium/drivers/llvmpipe/lp_tex_sample.h src/gallium/drivers/llvmpipe/lp_tex_sample.h
41-
index 51813ea..652f0fc 100644
41+
index 9e8baa0..e04f98a 100644
4242
--- src/gallium/drivers/llvmpipe/lp_tex_sample.h
4343
+++ src/gallium/drivers/llvmpipe/lp_tex_sample.h
44-
@@ -38,7 +38,7 @@ struct lp_image_static_state;
44+
@@ -36,7 +36,7 @@ struct lp_sampler_static_state;
4545
/**
4646
* Whether texture cache is used for s3tc textures.
4747
*/
4848
-#define LP_USE_TEXTURE_CACHE 0
4949
+#define LP_USE_TEXTURE_CACHE 1
5050

51-
/**
52-
* Pure-LLVM texture sampling code generator.
51+
struct lp_build_sampler_soa *
52+
lp_llvm_sampler_soa_create(const struct lp_sampler_static_state *static_state,
5353
diff --git src/gallium/frontends/wgl/stw_device.c src/gallium/frontends/wgl/stw_device.c
5454
index 2db745f..b1ab22b 100644
5555
--- src/gallium/frontends/wgl/stw_device.c

0 commit comments

Comments
 (0)