mesa/src
Charmaine Lee 16666eb470 svga: add a separate function to get dx format capabilities from vgpu10 device
Currently we have one function to get format capabailities and
we convert DX10 devcaps back to DX9. This can be confusing.
Going forward we will have a separate function for dealing with dx formats.

This patch also fixes the depth stencil devcap. Instead of hardcoding
the capabilities for the depth stencil formats, we will inquire the
device for the capabilities. Note: we will still need to explicity set
the SVGA3D_DXFMT_SHADER_SAMPLE bit for SVGA3D_R32_FLOAT_X8X24 and
SVGA3D_R24_UNORM_X8 since this bit is not advertised but supported
by the device.

v2: reapply the patch after svga_is_format_supported is moved to svga_format.c

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
2018-09-10 13:07:30 -06:00
..
amd nir: Drop the vs_inputs_dual_locations option 2018-09-06 16:07:50 -05:00
broadcom move u_math to src/util 2018-09-07 10:21:26 -07:00
compiler Replace uses of _mesa_bitcount with util_bitcount 2018-09-07 10:21:26 -07:00
egl egl/android: do not indent HAVE_DRM_GRALLOC preprocessor directive 2018-09-02 11:27:08 +02:00
gallium svga: add a separate function to get dx format capabilities from vgpu10 device 2018-09-10 13:07:30 -06:00
gbm gbm: Add support for 10bpp BGR formats 2018-08-01 12:55:37 +01:00
getopt
glx apple/glx/log: added missing va_end() after va_copy() 2018-09-06 17:33:27 +01:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel anv: Support v3 of VK_EXT_vertex_attribute_divisor 2018-09-10 13:45:32 -05:00
loader loader: Drop unused argument from dri3_update_drawable(). 2018-09-05 10:11:27 -07:00
mapi mesa: enable ARB_direct_state_access in compat for GL3.1+ 2018-08-30 07:57:38 +10:00
mesa i965: Bump aperture tracking to u64 2018-09-10 09:14:46 +01:00
util util: try to fix the Android and MacOS build 2018-09-10 14:49:07 -04:00
vulkan vulkan: Update the XML and headers to 1.1.84 2018-09-10 13:30:21 -05:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00