Bug 99493 - No support for z24s8
Summary: No support for z24s8
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
: 110925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-22 12:38 UTC by mrc_munir
Modified: 2019-06-17 22:33 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description mrc_munir 2017-01-22 12:38:59 UTC
Tested with RPCS3 app 

From branch implemented Vulkan for linux

https://github.com/rcaridade145/rpcs3

Returned St13runtime_error thrown: No hardware support for z24s8

Acording the rpcs3/Emu/RSX/VK/VKFormats.cpp

	case rsx::surface_depth_format::z16: return VK_FORMAT_D16_UNORM;
	case rsx::surface_depth_format::z24s8:
	{
		if (support.d24_unorm_s8) return VK_FORMAT_D24_UNORM_S8_UINT;
		if (support.d32_sfloat_s8) return VK_FORMAT_D32_SFLOAT_S8_UINT;
		fmt::throw_exception("No hardware support for z24s8" HERE)


Tested on HW Ivy bridge Vulkan driver with Mesa 17.1.0-devel (git-494b63f525)
Comment 1 mrc_munir 2017-07-25 22:24:25 UTC
Update actually  has in the master mainline code

https://github.com/rpcs3/rpcs3

The drivers not changes to much on this

FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT or FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported in VK_FORMAT_D24_UNORM_S8_UINT or VK_FORMAT_D32_UNORM_S8_UINT extensions?

Vulkaninfo only returned 

	optimalTiling  FormatFeatureFlags:
		VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT
		VK_FORMAT_FEATURE_BLIT_SRC_BIT
		VK_FORMAT_FEATURE_BLIT_DST_BIT 

Regards
Mrc.
Comment 2 Jason Ekstrand 2017-07-26 19:10:59 UTC
Yes, stencil texturing is still not supported on gen7.  I've recently done some work which adds some of the infrastructure we need in order to do this but it's still quite a bit of work.
Comment 3 alex.vlc88 2017-12-27 16:16:48 UTC
I'm having the same problem using Haswell with Mesa 17.3.0-2 in Archlinux
Comment 4 Jason Ekstrand 2019-06-17 01:59:41 UTC
*** Bug 110925 has been marked as a duplicate of this bug. ***
Comment 5 Kevin Puertas 2019-06-17 06:43:00 UTC
Mesa 19.2 (Git) in Archlinux same with Gen7 (Intel HD4000)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.