Skip to content

Commit

Permalink
Enable astc transcode to dxt for iris and astc compute shader decompr…
Browse files Browse the repository at this point in the history
…ess for anv

In this change, for iris, astc will be converted to dxt.
for vulkan, astc will be decompressed using compute shader.

Tracked-On: OAM-117170
Signed-off-by: Lin, Shenghua <[email protected]>
  • Loading branch information
ShenghuaLinINTEL authored and sysopenci committed Apr 10, 2024
1 parent 16c7421 commit 764f67a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ DRI_CONF_SECTION_DEBUG
DRI_CONF_FORCE_GL_NAMES_REUSE(false)
DRI_CONF_FORCE_GL_MAP_BUFFER_SYNCHRONIZED(false)
DRI_CONF_TRANSCODE_ETC(false)
DRI_CONF_TRANSCODE_ASTC(false)
DRI_CONF_TRANSCODE_ASTC(true)
DRI_CONF_FORCE_GL_VENDOR()
DRI_CONF_FORCE_GL_RENDERER()
DRI_CONF_OVERRIDE_VRAM_SIZE()
Expand Down
2 changes: 1 addition & 1 deletion src/intel/vulkan/anv_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static const driOptionDescription anv_dri_options[] = {
DRI_CONF_ANV_MESH_CONV_PRIM_ATTRS_TO_VERT_ATTRS(-2)
DRI_CONF_FORCE_VK_VENDOR(0)
DRI_CONF_FAKE_SPARSE(false)
#if defined(ANDROID) && ANDROID_API_LEVEL >= 34
#if defined(ANDROID) && ANDROID_API_LEVEL >= 32
DRI_CONF_VK_REQUIRE_ASTC(true)
#else
DRI_CONF_VK_REQUIRE_ASTC(false)
Expand Down

0 comments on commit 764f67a

Please sign in to comment.