mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
anv: enable VK_KHR_shader_draw_parameters
Enables 10 tests from: dEQP-VK.draw.shader_draw_parameters.* Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
9413e11869
commit
7158255069
2 changed files with 5 additions and 0 deletions
|
|
@ -272,6 +272,10 @@ static const VkExtensionProperties device_extensions[] = {
|
|||
.extensionName = VK_KHR_MAINTENANCE1_EXTENSION_NAME,
|
||||
.specVersion = 1,
|
||||
},
|
||||
{
|
||||
.extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME,
|
||||
.specVersion = 1,
|
||||
}
|
||||
};
|
||||
|
||||
static void *
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
|
|||
const struct nir_spirv_supported_extensions supported_ext = {
|
||||
.float64 = device->instance->physicalDevice.info.gen >= 8,
|
||||
.tessellation = true,
|
||||
.draw_parameters = true,
|
||||
};
|
||||
|
||||
nir_function *entry_point =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue