vkd3d: Disallow querying identifiers from COLLECTION objects.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Hans-Kristian Arntzen 2 months ago
parent 7308eaf640
commit b8638eea35
  1. 8
      libs/vkd3d/raytracing_pipeline.c

@ -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);

Loading…
Cancel
Save