@@ -19,23 +19,23 @@ DescriptorSet::DescriptorSet(const Context& context, const DescriptorSetCreateIn
1919
2020 // 各リソースのディスクリプタ情報を設定
2121 for (const auto & [name, buffers] : createInfo.buffers ) {
22- RV_ASSERT (m_descriptors.contains (name), " Unknown m_buffer m_name . Resource m_name must match the m_name on the m_shader. " );
22+ RV_ASSERT (m_descriptors.contains (name), " Unknown buffer name({}) . Resource name must match the name on the shader. " , name );
2323 if (std::holds_alternative<uint32_t >(buffers)) {
2424 m_descriptors[name].binding .setDescriptorCount (std::get<uint32_t >(buffers));
2525 } else {
2626 set (name, std::get<ArrayProxy<BufferHandle>>(buffers));
2727 }
2828 }
2929 for (const auto & [name, images] : createInfo.images ) {
30- RV_ASSERT (m_descriptors.contains (name), " Unknown m_image m_name . Resource m_name must match the m_name on the m_shader. " );
30+ RV_ASSERT (m_descriptors.contains (name), " Unknown image name({}) . Resource name must match the name on the shader. " , name );
3131 if (std::holds_alternative<uint32_t >(images)) {
3232 m_descriptors[name].binding .setDescriptorCount (std::get<uint32_t >(images));
3333 } else {
3434 set (name, std::get<ArrayProxy<ImageHandle>>(images));
3535 }
3636 }
3737 for (const auto & [name, accels] : createInfo.accels ) {
38- RV_ASSERT (m_descriptors.contains (name), " Unknown m_accel m_name . Resource m_name must match the m_name on the m_shader. " );
38+ RV_ASSERT (m_descriptors.contains (name), " Unknown accel name({}) . Resource name must match the name on the shader. " , name );
3939 if (std::holds_alternative<uint32_t >(accels)) {
4040 m_descriptors[name].binding .setDescriptorCount (std::get<uint32_t >(accels));
4141 } else {
0 commit comments