vkd3d: Disallow querying identifiers from COLLECTION objects.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2022-05-11 15:33:55 +02:00
parent 74eb676cfb
commit d333159c86
1 changed files with 7 additions and 1 deletions

View File

@ -251,7 +251,13 @@ static void * STDMETHODCALLTYPE d3d12_state_object_properties_GetShaderIdentifie
const WCHAR *subtype = NULL;
uint32_t index;
TRACE("iface %p, export_name %p.\n", iface, export_name);
RT_TRACE("iface %p, export_name %s.\n", iface, debugstr_w(export_name));
if (object->type == D3D12_STATE_OBJECT_TYPE_COLLECTION)
{
FIXME("Cannot query identifiers from COLLECTIONs.\n");
return NULL;
}
index = d3d12_state_object_get_export_index(object, export_name, &subtype);