vkd3d-shader/spirv: Fix the outer tessellation level indices for isoline tessellation.

For isoline tessellation, "density" is specified by OL0, and "detail" by OL1.

Based on a vkd3d-proton patch by Hans-Kristian Arntzen.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy
2021-11-17 13:06:02 +01:00
committed by Alexandre Julliard
parent 462bbfaa74
commit 5357ab78b9
2 changed files with 3 additions and 3 deletions

View File

@@ -29506,7 +29506,7 @@ static void test_domain_shader_inputs(void)
{1.0f, 2.0f, 0.0f, 0.5f, 2.5f, 8.0f, 2.0f, 1.0f},
{1.0f, 2.0f, 1.0f, 0.5f, 2.5f, 8.0f, 2.0f, 1.0f},
};
static const unsigned int is_todo[] = {0x00110000, 0x00110100, 0x00111100, 0x00111000};
static const unsigned int is_todo[] = {0x00110000, 0x00110000, 0x00110000, 0x00110000};
static const unsigned int stride = sizeof(*reference);
memset(&desc, 0, sizeof(desc));