Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (111)
2a3446af
docs: Add sha-256 sums for 18.1.5
Jul 27, 2018
1be32930
clover: Reduce wait_count in abort path.
Jul 27, 2018
b563370e
clover: Don't extend illegal integer types.
Jul 27, 2018
7699951a
radv: generate entrypoints for VK_ANDROID_native_buffer
Jul 28, 2018
b4eeb2df
radv: move vk_format_table.c to generated sources
Jul 28, 2018
be9dfba5
nir: Take if uses into account in ssa_def_components_read
Jul 30, 2018
7c3f43cb
nir/lower_int64: mark all metadata as dirty
Jul 30, 2018
8e49c2eb
r600: reduce num compute threads to 1024.
Jul 31, 2018
0a19e010
etnaviv: fix typo in query names
Jul 31, 2018
948e06a4
ac/surface: fix MSAA corruption on Vega due to FMASK tile swizzle
Aug 01, 2018
88b6d644
dri3: For 1.2, use root window instead of pixmap drawable
Aug 01, 2018
dbcc6dec
swr: Remove unnecessary memset call
Aug 02, 2018
7574119e
ddebug: use util_snprintf() in dd_get_debug_filename_and_mkdir
Aug 02, 2018
30063730
gallium/aux/util: use util_snprintf() in test_texture_barrier
Aug 02, 2018
15f579f4
glsl: use util_snprintf()
Aug 02, 2018
2d149061
i965/fs: Flag all slots of a flat input as flat
Aug 02, 2018
c1e67f0b
nir/meson: fix c vs cpp args for nir test
Aug 02, 2018
a79ed78b
gallium: fix ddebug on windows
Aug 02, 2018
2888dc65
i965, anv: Use INTEL_DEBUG for disk_cache driver flags
Aug 02, 2018
2e903df7
swr: Remove unnecessary memset call
Aug 02, 2018
9ddff68f
intel/tools: add error2aub creation into autotools
Aug 02, 2018
7a1e5f9b
i965: Disable shader cache with INTEL_DEBUG=shader_time
Aug 02, 2018
bbeb7862
android: radv: build vulkan.radv conditionally to radeonsi
Aug 06, 2018
88c36f43
gallium/u_vbuf: handle indirect multidraws correctly and efficiently (v3)
Aug 06, 2018
c18ed873
nvc0/ir: return 0 in imageLoad on incomplete textures
Aug 06, 2018
b6e9ef15
intel: aubinator: fix read the context/ring
Aug 06, 2018
a8d32e8a
cherry-ignore: add patches that get-pick-list is finding in error
Aug 06, 2018
7f818fd3
nvc0/ir: return 0 in imageLoad on incomplete textures
Aug 06, 2018
3ca69de0
meson: use correct keyword to fix a meson warning
Aug 06, 2018
cce78368
v3d: Make sure we don't emit a thrsw before the last one finished.
Aug 07, 2018
c3b1a6d7
v3d: Wait for TMU writes to complete before continuing after a spill.
Aug 07, 2018
c8d41bc5
v3d: Make sure that QPU instruction-has-a-dest matches VIR.
Aug 07, 2018
71aa72d6
v3d: Avoid spilling that breaks the r5 usage after a ldvary.
Aug 07, 2018
37fa81f6
v3d: Emit the VCM_CACHE_SIZE packet.
Aug 07, 2018
3c3589a0
meson, install_megadrivers: Also remove stale symlinks
Aug 07, 2018
fdbbe4c5
drisw: Fix build on Android Nougat, which lacks shm (v2)
Aug 07, 2018
ed117c27
vc4: Fix context creation when syncobjs aren't supported.
Aug 07, 2018
d39fb6d1
vc4: Fix a leak of the no-vertex-elements workaround BO.
Aug 07, 2018
4a769c88
meson: use correct keyword to fix a meson warning
Aug 07, 2018
3e0dbfde
meson, install_megadrivers: Also remove stale symlinks
Aug 07, 2018
3daf7ff6
vc4: Fix a leak of the no-vertex-elements workaround BO.
Aug 07, 2018
695a5159
swr: don't export swr_create_screen_internal
Aug 07, 2018
f2d3373e
cherry-ignore: Add some additional patches that are for 18.2
Aug 07, 2018
ec7f550e
vc4: Respect a sampler view's first_layer field.
Aug 08, 2018
ff8c3747
vc4: Ignore samplers for finding uniform offsets.
Aug 08, 2018
7339855b
automake: require shared glapi when using DRI based libGL
Aug 08, 2018
8691317f
autotools: error out when using the broken --with-{gl, osmesa}-lib-name
Aug 08, 2018
db3ff90e
autotools: error out when building with mangling and glvnd
Aug 08, 2018
0c927e8d
autotools: use correct gl.pc LIBS when using glvnd
Aug 08, 2018
4a25d8b6
Update version to 18.2.0-rc2
Aug 09, 2018
adfbf1fe
vc4: Respect a sampler view's first_layer field.
Aug 09, 2018
a42afc85
vc4: Ignore samplers for finding uniform offsets.
Aug 09, 2018
f0ae9549
automake: require shared glapi when using DRI based libGL
Aug 09, 2018
33ac5fb6
autotools: error out when using the broken --with-{gl, osmesa}-lib-name
Aug 09, 2018
c7092069
autotools: error out when building with mangling and glvnd
Aug 09, 2018
6ae0a639
autotools: use correct gl.pc LIBS when using glvnd
Aug 09, 2018
9ad14f71
wayland/egl: initialize window surface size to window size
Aug 09, 2018
7af6be88
wayland/egl: update surface size on window resize
Aug 09, 2018
9dacf10c
swr: don't export swr_create_screen_internal
Aug 09, 2018
1378f331
vc4: Fix vc4_fence_server_sync() on pre-syncobj kernels.
Aug 09, 2018
6606cacd
intel/tools: add missing variable initialisation
Aug 09, 2018
6cffbd96
wayland/egl: update surface size on window resize
Aug 09, 2018
4395919b
wayland/egl: initialize window surface size to window size
Aug 09, 2018
894fdbf0
drirc: Allow extension midshader for Metro Redux
Aug 09, 2018
8be5985e
drirc: Allow extension midshader for Metro Redux
Aug 10, 2018
9df34607
glsl: handle error case with ast_post_inc, ast_post_dec
Aug 10, 2018
e91782ed
glx: GLX_MESA_multithread_makecurrent is direct-only
Aug 10, 2018
dadc50ad
intel: Fix SIMD16 unaligned payload GRF reads on Gen4-5.
Aug 10, 2018
94da4547
egl: Fix leak of X11 pixmaps backing pbuffers in DRI3.
Aug 10, 2018
0c183276
mesa/st: ETC2 now uses R8G8B8A8_SRGB as fallback
Aug 10, 2018
a1bb4344
glx: GLX_MESA_multithread_makecurrent is direct-only
Aug 10, 2018
de4a4f2b
egl: Fix leak of X11 pixmaps backing pbuffers in DRI3.
Aug 10, 2018
8d742a1e
intel: Fix SIMD16 unaligned payload GRF reads on Gen4-5.
Aug 10, 2018
af8076e1
glsl: handle error case with ast_post_inc, ast_post_dec
Aug 10, 2018
90278c7f
intel: Switch the order of the 2x MSAA sample positions
Aug 13, 2018
f7e8bc0f
blorp: Don't try to use R32_UNORM for R24_UNORM_X8_TYPELESS rendering.
Aug 13, 2018
b696ab17
blorp: Properly handle Z24X8 blits.
Aug 13, 2018
5950393f
bump version to 18.1.6
Aug 13, 2018
5343019c
docs: Add release notes for 18.1.6
Aug 13, 2018
ffe676fb
Merge tag 'mesa-18.1.6' into debian-unstable
Aug 14, 2018
6229618d
Bump changelog
Aug 14, 2018
547ae67d
Drop glvnd-fix-gl-dot-pc.patch, fixed upstream (
0c927e8d
) (Closes: #896447).
Aug 14, 2018
fb93c40d
Close bug #901789
Aug 14, 2018
5edf41c9
Upload to unstable.
Aug 14, 2018
bbd95de9
radv: Fix missing Android platform define.
Aug 14, 2018
8061ee58
radv: Update to new VK_EXT_vertex_attribute_divisor to version 2.
Aug 14, 2018
d82c36a4
radv: Allow ETC2 on RAVEN and VEGA10 instead of all GFX9.
Aug 14, 2018
dcd3786e
Update version to 18.2.0-rc3
Aug 15, 2018
b1e0876a
egl/android: fix regression in drm_gralloc path (v2)
Aug 15, 2018
f070d5a5
radv: disable the auto-waitcnt-before-barrier LLVM option
Aug 16, 2018
586ac9c2
radv: add Doom workaround
Aug 16, 2018
dbb53966
intel/ppgtt: memory address alignment
Aug 16, 2018
b9a97a8b
Revert "intel/nir: Call nir_lower_io_to_scalar_early"
Aug 16, 2018
c2268223
glsl: Avoid calling get_array_element for scalar constants
Aug 16, 2018
3ff3bfa3
radv: Revert divisor = 0 case for vertex attribute extension.
Aug 16, 2018
bc6b6cb2
radv: fix missing initialization of the conditional rendering state
Aug 16, 2018
4477635b
radv: initialize the DCC predicate correctly when it's compressed
Aug 16, 2018
f3fc2d40
meson: fix build for egl platform_x11 without dri3 and gbm
Aug 16, 2018
26c07daf
radv/winsys: fix creating the BO list for virtual buffers
Aug 17, 2018
f69fcede
anv/lower_ycbcr: Use the binding array size for bounds checks
Aug 18, 2018
Show whitespace changes
Inline
Side-by-side
VERSION
View file @
e13c5efc
18.2.0-rc
1
18.2.0-rc
4
bin/.cherry-ignore
0 → 100644
View file @
e13c5efc
# fixes: This commit has more than one Fixes tag but the commit it
# addresses didn't land in branch.
6ff1c479968819b93c46d24bd898e89ce14ac401 autotools: don't ship the git_sha1.h generated in git in the tarballs
bin/install_megadrivers.py
View file @
e13c5efc
...
...
@@ -43,13 +43,15 @@ def main():
master
=
os
.
path
.
join
(
to
,
os
.
path
.
basename
(
args
.
megadriver
))
if
not
os
.
path
.
exists
(
to
):
if
os
.
path
.
lexists
(
to
):
os
.
unlink
(
to
)
os
.
makedirs
(
to
)
shutil
.
copy
(
args
.
megadriver
,
master
)
for
driver
in
args
.
drivers
:
abs_driver
=
os
.
path
.
join
(
to
,
driver
)
if
os
.
path
.
exists
(
abs_driver
):
if
os
.
path
.
l
exists
(
abs_driver
):
os
.
unlink
(
abs_driver
)
print
(
'
installing {} to {}
'
.
format
(
args
.
megadriver
,
abs_driver
))
os
.
link
(
master
,
abs_driver
)
...
...
@@ -60,7 +62,7 @@ def main():
name
,
ext
=
os
.
path
.
splitext
(
driver
)
while
ext
!=
'
.so
'
:
if
os
.
path
.
exists
(
name
):
if
os
.
path
.
l
exists
(
name
):
os
.
unlink
(
name
)
os
.
symlink
(
driver
,
name
)
name
,
ext
=
os
.
path
.
splitext
(
name
)
...
...
configure.ac
View file @
e13c5efc
...
...
@@ -1503,15 +1503,15 @@ fi
AC_ARG_WITH([gl-lib-name],
[AS_HELP_STRING([--with-gl-lib-name@<:@=NAME@:>@],
[specify GL library name @<:@default=GL@:>@])],
[
GL_LIB=$withval
],
[
GL_LIB="$DEFAULT_GL_LIB_NAME"
])
[
AC_MSG_ERROR([--with-gl-lib-name is no longer supported. Rename the library manually if needed.])
],
[])
AC_ARG_WITH([osmesa-lib-name],
[AS_HELP_STRING([--with-osmesa-lib-name@<:@=NAME@:>@],
[specify OSMesa library name @<:@default=OSMesa@:>@])],
[
OSMESA_LIB=$withval
],
[
OSMESA_LIB=OSMesa
])
AS_IF([test "x$GL_LIB" = xyes], [
GL_LIB="$DEFAULT_GL_LIB_NAME"
])
AS_IF([test "x$OSMESA_LIB" = xyes], [
OSMESA_LIB=OSMesa
])
[
AC_MSG_ERROR([--with-osmesa-lib-name is no longer supported. Rename the library manually if needed.])
],
[])
GL_LIB="$DEFAULT_GL_LIB_NAME"
OSMESA_LIB=OSMesa
dnl
dnl Mangled Mesa support
...
...
@@ -1523,6 +1523,9 @@ AC_ARG_ENABLE([mangling],
[enable_mangling=no]
)
if test "x${enable_mangling}" = "xyes" ; then
if test "x$enable_libglvnd" = xyes; then
AC_MSG_ERROR([Conflicting options --enable-mangling and --enable-libglvnd.])
fi
DEFINES="${DEFINES} -DUSE_MGL_NAMESPACE"
GL_LIB="Mangled${GL_LIB}"
OSMESA_LIB="Mangled${OSMESA_LIB}"
...
...
@@ -1530,6 +1533,15 @@ fi
AC_SUBST([GL_LIB])
AC_SUBST([OSMESA_LIB])
dnl HACK when building glx + glvnd we ship gl.pc, despite that glvnd should do it
dnl Thus we need to use GL as a DSO name.
if test "x$enable_libglvnd" = xyes -a "x$enable_glx" != xno; then
GL_PKGCONF_LIB="GL"
else
GL_PKGCONF_LIB="$GL_LIB"
fi
AC_SUBST([GL_PKGCONF_LIB])
# Check for libdrm
PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED],
[have_libdrm=yes], [have_libdrm=no])
...
...
@@ -1658,6 +1670,8 @@ xxlib | xgallium-xlib)
xdri)
# DRI-based GLX
require_dri_shared_libs_and_glapi "GLX"
# find the DRI deps for libGL
dri_modules="x11 xext xdamage >= $XDAMAGE_REQUIRED xfixes x11-xcb xcb xcb-glx >= $XCBGLX_REQUIRED"
...
...
debian/changelog
View file @
e13c5efc
mesa (18.2.0~rc
1
-1)
UNRELEASED
; urgency=medium
mesa (18.2.0~rc
4
-1)
experimental
; urgency=medium
* New upstream release candidate.
* control: Add libxrandr-dev and libwayland-egl-backend-dev to build-
depends.
-- Timo Aaltonen <tjaalton@debian.org> Fri, 03 Aug 2018 11:10:23 +0300
-- Timo Aaltonen <tjaalton@debian.org> Wed, 22 Aug 2018 19:59:55 +0300
mesa (18.1.6-1) unstable; urgency=medium
* New upstream release.
- Fixes white screen when running Xfwm4 with compositing
(Closes: #901789).
* Drop glvnd-fix-gl-dot-pc.patch, fixed upstream (0c927e8da9e)
(Closes: #896447).
-- Andreas Boll <aboll@debian.org> Tue, 14 Aug 2018 09:28:56 +0200
mesa (18.1.5-1) unstable; urgency=medium
...
...
debian/patches/glvnd-fix-gl-dot-pc.patch
deleted
100644 → 0
View file @
c697b115
diff -up mesa-12.0.3/src/mesa/gl.pc.in.jx mesa-12.0.3/src/mesa/gl.pc.in
--- mesa-12.0.3/src/mesa/gl.pc.in.jx 2016-01-18 02:39:26.000000000 -0500
+++ mesa-12.0.3/src/mesa/gl.pc.in 2016-10-25 13:06:44.013159358 -0400
@@ -7,7 +7,7 @@
Name: gl
Description: Mesa OpenGL library
Requires.private: @GL_PC_REQ_PRIV@
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -l@GL_LIB@
+Libs: -L${libdir} -lGL
Libs.private: @GL_PC_LIB_PRIV@
Cflags: -I${includedir} @GL_PC_CFLAGS@
glx_tls: @GLX_TLS@
debian/patches/series
View file @
e13c5efc
07_gallium-fix-build-failure-on-powerpcspe.diff
# glvnd support patches
glvnd-fix-gl-dot-pc.patch
meson.build
View file @
e13c5efc
...
...
@@ -989,7 +989,7 @@ if cc.links('''
freelocale(loc);
return 0;
}'''
,
extra_
args
:
pre_args
,
args
:
pre_args
,
name
:
'strtod has locale support'
)
pre_args
+=
'-DHAVE_STRTOD_L'
endif
...
...
src/amd/Android.mk
View file @
e13c5efc
...
...
@@ -27,4 +27,6 @@ include $(LOCAL_PATH)/Makefile.sources
include
$(LOCAL_PATH)/Android.addrlib.mk
include
$(LOCAL_PATH)/Android.common.mk
ifneq
($(filter radeonsi,$(BOARD_GPU_DRIVERS)),)
include
$(LOCAL_PATH)/vulkan/Android.mk
endif
src/amd/common/ac_llvm_util.c
View file @
e13c5efc
...
...
@@ -149,7 +149,8 @@ static LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family,
char
features
[
256
];
const
char
*
triple
=
(
tm_options
&
AC_TM_SUPPORTS_SPILL
)
?
"amdgcn-mesa-mesa3d"
:
"amdgcn--"
;
LLVMTargetRef
target
=
ac_get_llvm_target
(
triple
);
bool
barrier_does_waitcnt
=
family
!=
CHIP_VEGA20
;
bool
barrier_does_waitcnt
=
(
tm_options
&
AC_TM_AUTO_WAITCNT_BEFORE_BARRIER
)
&&
family
!=
CHIP_VEGA20
;
snprintf
(
features
,
sizeof
(
features
),
"+DumpCode,+vgpr-spilling,-fp32-denormals,+fp64-denormals%s%s%s%s%s"
,
...
...
src/amd/common/ac_llvm_util.h
View file @
e13c5efc
...
...
@@ -65,6 +65,7 @@ enum ac_target_machine_options {
AC_TM_CHECK_IR
=
(
1
<<
5
),
AC_TM_ENABLE_GLOBAL_ISEL
=
(
1
<<
6
),
AC_TM_CREATE_LOW_OPT
=
(
1
<<
7
),
AC_TM_AUTO_WAITCNT_BEFORE_BARRIER
=
(
1
<<
8
),
};
enum
ac_float_mode
{
...
...
src/amd/vulkan/Android.mk
View file @
e13c5efc
...
...
@@ -62,6 +62,7 @@ LOCAL_SRC_FILES := \
$(
VULKAN_FILES
)
LOCAL_CFLAGS
+=
-DFORCE_BUILD_AMDGPU
# instructs LLVM to declare LLVMInitializeAMDGPU* functions
LOCAL_CFLAGS
+=
-DVK_USE_PLATFORM_ANDROID_KHR
$(
call
mesa-build-with-llvm
)
...
...
@@ -140,6 +141,7 @@ LOCAL_SRC_FILES := \
$(
VULKAN_ANDROID_FILES
)
LOCAL_CFLAGS
+=
-DFORCE_BUILD_AMDGPU
# instructs LLVM to declare LLVMInitializeAMDGPU* functions
LOCAL_CFLAGS
+=
-DVK_USE_PLATFORM_ANDROID_KHR
$(
call
mesa-build-with-llvm
)
...
...
src/amd/vulkan/Makefile.am
View file @
e13c5efc
...
...
@@ -124,7 +124,7 @@ VULKAN_LIB_DEPS += \
endif
if
HAVE_PLATFORM_ANDROID
AM_CPPFLAGS
+=
$(
ANDROID_CPPFLAGS
)
AM_CPPFLAGS
+=
$(
ANDROID_CPPFLAGS
)
-DVK_USE_PLATFORM_ANDROID_KHR
AM_CFLAGS
+=
$(
ANDROID_CFLAGS
)
VULKAN_LIB_DEPS
+=
$(
ANDROID_LIBS
)
VULKAN_SOURCES
+=
$(
VULKAN_ANDROID_FILES
)
...
...
src/amd/vulkan/radv_cmd_buffer.c
View file @
e13c5efc
...
...
@@ -2307,6 +2307,7 @@ VkResult radv_BeginCommandBuffer(
cmd_buffer
->
state
.
last_num_instances
=
-
1
;
cmd_buffer
->
state
.
last_vertex_offset
=
-
1
;
cmd_buffer
->
state
.
last_first_instance
=
-
1
;
cmd_buffer
->
state
.
predication_type
=
-
1
;
cmd_buffer
->
usage_flags
=
pBeginInfo
->
flags
;
/* setup initial configuration into command buffer */
...
...
@@ -4126,15 +4127,18 @@ static void radv_init_color_image_metadata(struct radv_cmd_buffer *cmd_buffer,
if
(
radv_image_has_dcc
(
image
))
{
uint32_t
value
=
0xffffffffu
;
/* Fully expanded mode. */
bool
need_decompress_pass
=
false
;
if
(
radv_layout_dcc_compressed
(
image
,
dst_layout
,
dst_queue_mask
))
{
value
=
0x20202020u
;
need_decompress_pass
=
true
;
}
radv_initialize_dcc
(
cmd_buffer
,
image
,
value
);
radv_set_dcc_need_cmask_elim_pred
(
cmd_buffer
,
image
,
false
);
radv_set_dcc_need_cmask_elim_pred
(
cmd_buffer
,
image
,
need_decompress_pass
);
}
if
(
radv_image_has_cmask
(
image
)
||
radv_image_has_dcc
(
image
))
{
...
...
src/amd/vulkan/radv_device.c
View file @
e13c5efc
...
...
@@ -480,6 +480,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
*/
instance
->
perftest_flags
|=
RADV_PERFTEST_SISCHED
;
}
}
else
if
(
!
strcmp
(
name
,
"DOOM_VFR"
))
{
/* Work around a Doom VFR game bug */
instance
->
debug_flags
|=
RADV_DEBUG_NO_DYNAMIC_BOUNDS
;
}
}
...
...
src/amd/vulkan/radv_extensions.py
View file @
e13c5efc
...
...
@@ -105,7 +105,7 @@ EXTENSIONS = [
Extension
(
'
VK_EXT_sampler_filter_minmax
'
,
1
,
'
device->rad_info.chip_class >= CIK
'
),
Extension
(
'
VK_EXT_shader_viewport_index_layer
'
,
1
,
True
),
Extension
(
'
VK_EXT_shader_stencil_export
'
,
1
,
True
),
Extension
(
'
VK_EXT_vertex_attribute_divisor
'
,
1
,
True
),
Extension
(
'
VK_EXT_vertex_attribute_divisor
'
,
2
,
True
),
Extension
(
'
VK_AMD_draw_indirect_count
'
,
1
,
True
),
Extension
(
'
VK_AMD_gcn_shader
'
,
1
,
True
),
Extension
(
'
VK_AMD_rasterization_order
'
,
1
,
'
device->has_out_of_order_rast
'
),
...
...
src/amd/vulkan/radv_formats.c
View file @
e13c5efc
...
...
@@ -612,7 +612,8 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
}
if
(
desc
->
layout
==
VK_FORMAT_LAYOUT_ETC
&&
physical_device
->
rad_info
.
chip_class
<
GFX9
&&
physical_device
->
rad_info
.
family
!=
CHIP_VEGA10
&&
physical_device
->
rad_info
.
family
!=
CHIP_RAVEN
&&
physical_device
->
rad_info
.
family
!=
CHIP_STONEY
)
{
out_properties
->
linearTilingFeatures
=
linear
;
out_properties
->
optimalTilingFeatures
=
tiled
;
...
...
src/amd/vulkan/radv_meta_fast_clear.c
View file @
e13c5efc
...
...
@@ -603,7 +603,7 @@ radv_emit_color_decompress(struct radv_cmd_buffer *cmd_buffer,
pipeline
=
cmd_buffer
->
device
->
meta_state
.
fast_clear_flush
.
cmask_eliminate_pipeline
;
}
if
(
radv_image_has_dcc
(
image
))
{
if
(
!
decompress_dcc
&&
radv_image_has_dcc
(
image
))
{
old_predicating
=
cmd_buffer
->
state
.
predicating
;
radv_emit_set_predication_state_from_image
(
cmd_buffer
,
image
,
true
);
...
...
@@ -671,7 +671,7 @@ radv_emit_color_decompress(struct radv_cmd_buffer *cmd_buffer,
&
cmd_buffer
->
pool
->
alloc
);
}
if
(
radv_image_has_dcc
(
image
))
{
if
(
!
decompress_dcc
&&
radv_image_has_dcc
(
image
))
{
cmd_buffer
->
state
.
predicating
=
old_predicating
;
radv_emit_set_predication_state_from_image
(
cmd_buffer
,
image
,
false
);
...
...
src/amd/vulkan/radv_nir_to_llvm.c
View file @
e13c5efc
...
...
@@ -1991,8 +1991,7 @@ handle_vs_input_decl(struct radv_shader_context *ctx,
uint32_t
divisor
=
ctx
->
options
->
key
.
vs
.
instance_rate_divisors
[
attrib_index
];
if
(
divisor
)
{
buffer_index
=
LLVMBuildAdd
(
ctx
->
ac
.
builder
,
ctx
->
abi
.
instance_id
,
ctx
->
abi
.
start_instance
,
""
);
buffer_index
=
ctx
->
abi
.
instance_id
;
if
(
divisor
!=
1
)
{
buffer_index
=
LLVMBuildUDiv
(
ctx
->
ac
.
builder
,
buffer_index
,
...
...
@@ -2009,6 +2008,8 @@ handle_vs_input_decl(struct radv_shader_context *ctx,
}
else
{
buffer_index
=
ctx
->
ac
.
i32_0
;
}
buffer_index
=
LLVMBuildAdd
(
ctx
->
ac
.
builder
,
ctx
->
abi
.
start_instance
,
buffer_index
,
""
);
}
else
buffer_index
=
LLVMBuildAdd
(
ctx
->
ac
.
builder
,
ctx
->
abi
.
vertex_id
,
ctx
->
abi
.
base_vertex
,
""
);
...
...
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
View file @
e13c5efc
...
...
@@ -673,7 +673,7 @@ static int radv_amdgpu_create_bo_list(struct radv_amdgpu_winsys *ws,
if
(
!
cs
->
num_buffers
)
continue
;
if
(
unique_bo_count
==
0
)
{
if
(
unique_bo_count
==
0
&&
!
cs
->
num_virtual_buffers
)
{
memcpy
(
handles
,
cs
->
handles
,
cs
->
num_buffers
*
sizeof
(
amdgpu_bo_handle
));
unique_bo_count
=
cs
->
num_buffers
;
continue
;
...
...
Prev
1
2
3
4
Next