Fixed deviceName conversion
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
732704a9ee
commit
53a3753caf
1 changed files with 2 additions and 2 deletions
|
|
@ -10,9 +10,9 @@ namespace py {
|
|||
static pybind11::dict
|
||||
vkPropertiesToDict(const vk::PhysicalDeviceProperties& properties)
|
||||
{
|
||||
|
||||
std::string deviceName = properties.deviceName;
|
||||
pybind11::dict pyDict(
|
||||
"device_name"_a = std::string(properties.deviceName),
|
||||
"device_name"_a = deviceName,
|
||||
"max_work_group_count"_a =
|
||||
pybind11::make_tuple(properties.limits.maxComputeWorkGroupCount[0],
|
||||
properties.limits.maxComputeWorkGroupCount[1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue