mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Pass the interface info as part of the vkd3d_shader_compile_info structure chain.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
8ff9610fed
commit
c4e6657c11
@@ -55,7 +55,7 @@ static void test_invalid_shaders(void)
|
||||
info.source.code = ps_break_code;
|
||||
info.source.size = sizeof(ps_break_code);
|
||||
|
||||
rc = vkd3d_shader_compile_dxbc(&info, &spirv, VKD3D_SHADER_STRIP_DEBUG, NULL, NULL);
|
||||
rc = vkd3d_shader_compile_dxbc(&info, &spirv, VKD3D_SHADER_STRIP_DEBUG, NULL);
|
||||
ok(rc == VKD3D_ERROR_INVALID_SHADER, "Got unexpected error code %d.\n", rc);
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ static void test_vkd3d_shader_pfns(void)
|
||||
compile_info.next = NULL;
|
||||
compile_info.source = vs;
|
||||
|
||||
rc = pfn_vkd3d_shader_compile_dxbc(&compile_info, &spirv, 0, NULL, NULL);
|
||||
rc = pfn_vkd3d_shader_compile_dxbc(&compile_info, &spirv, 0, NULL);
|
||||
ok(rc == VKD3D_OK, "Got unexpected error code %d.\n", rc);
|
||||
pfn_vkd3d_shader_free_shader_code(&spirv);
|
||||
|
||||
|
Reference in New Issue
Block a user