Lines Matching full:error_msg
226 // else return false and fill in error_msg will description of what causes incompatibility
228 std::string *error_msg) { in VerifySetLayoutCompatibility() argument
245 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
261 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
269 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
277 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
944 … const char *func_name, std::string *error_code, std::string *error_msg) { in ValidateCopyUpdate() argument
951 string_sprintf(error_msg, in ValidateCopyUpdate()
962 string_sprintf(error_msg, in ValidateCopyUpdate()
976 *error_msg = error_str.str(); in ValidateCopyUpdate()
983 *error_msg = error_str.str(); in ValidateCopyUpdate()
995 *error_msg = error_str.str(); in ValidateCopyUpdate()
1009 *error_msg = error_str.str(); in ValidateCopyUpdate()
1021 *error_msg = error_str.str(); in ValidateCopyUpdate()
1036 *error_msg = error_str.str(); in ValidateCopyUpdate()
1042 error_msg)) || in ValidateCopyUpdate()
1045 error_msg))) { in ValidateCopyUpdate()
1060 *error_msg = error_str.str(); in ValidateCopyUpdate()
1075 *error_msg = error_str.str(); in ValidateCopyUpdate()
1090 *error_msg = error_str.str(); in ValidateCopyUpdate()
1105 *error_msg = error_str.str(); in ValidateCopyUpdate()
1115 *error_msg = error_str.str(); in ValidateCopyUpdate()
1123 *error_msg = error_str.str(); in ValidateCopyUpdate()
1131 *error_msg = error_str.str(); in ValidateCopyUpdate()
1137 …Contents(update, src_set, src_type, src_start_idx, func_name, error_code, error_msg)) return false; in ValidateCopyUpdate()
1310 … const char *func_name, std::string *error_code, std::string *error_msg) { in ValidateImageUpdate() argument
1332 *error_msg = "No memory bound to image."; in ValidateImageUpdate()
1341 *error_msg = "ImageView must not be a 2D or 2DArray view of a 3D image"; in ValidateImageUpdate()
1357 *error_msg = error_str.str(); in ValidateImageUpdate()
1366 *error_msg = error_str.str(); in ValidateImageUpdate()
1379 *error_msg = error_str.str(); in ValidateImageUpdate()
1387 *error_msg = error_str.str(); in ValidateImageUpdate()
1396 *error_msg = error_str.str(); in ValidateImageUpdate()
1415 *error_msg = error_str.str(); in ValidateImageUpdate()
1452 *error_msg = error_str.str(); in ValidateImageUpdate()
1461 *error_msg = error_str.str(); in ValidateImageUpdate()
1481 *error_msg = error_str.str(); in ValidateImageUpdate()
1521 *error_msg = error_str.str(); in ValidateImageUpdate()
1891 // If there's an error, update the error_msg string with details and return false, else return true
1893 std::string *error_msg) { in ValidateBufferUsage() argument
1932 *error_msg = error_str.str(); in ValidateBufferUsage()
1943 // If there's an error, update the error_msg string with details and return false, else return true
1945 std::string *error_code, std::string *error_msg) { in ValidateBufferUpdate() argument
1952 *error_msg = "No memory bound to buffer."; in ValidateBufferUpdate()
1956 if (!cvdescriptorset::ValidateBufferUsage(buffer_node, type, error_code, error_msg)) { in ValidateBufferUpdate()
1957 // error_msg will have been updated by ValidateBufferUsage() in ValidateBufferUpdate()
1966 *error_msg = error_str.str(); in ValidateBufferUpdate()
1975 *error_msg = error_str.str(); in ValidateBufferUpdate()
1984 *error_msg = error_str.str(); in ValidateBufferUpdate()
1997 *error_msg = error_str.str(); in ValidateBufferUpdate()
2005 *error_msg = error_str.str(); in ValidateBufferUpdate()
2015 *error_msg = error_str.str(); in ValidateBufferUpdate()
2023 *error_msg = error_str.str(); in ValidateBufferUpdate()
2031 … uint32_t index, const char *func_name, std::string *error_code, std::string *error_msg) { in VerifyCopyUpdateContents() argument
2053 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2074 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2083 … if (!ValidateImageUpdate(image_view, image_layout, type, func_name, error_code, error_msg)) { in VerifyCopyUpdateContents()
2085 …"Attempted copy update to combined image sampler descriptor failed due to: " << error_msg->c_str(); in VerifyCopyUpdateContents()
2086 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2099 … if (!ValidateImageUpdate(image_view, image_layout, type, func_name, error_code, error_msg)) { in VerifyCopyUpdateContents()
2101 … error_str << "Attempted copy update to image descriptor failed due to: " << error_msg->c_str(); in VerifyCopyUpdateContents()
2102 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2118 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2122 … if (!cvdescriptorset::ValidateBufferUsage(GetBufferState(buffer), type, error_code, error_msg)) { in VerifyCopyUpdateContents()
2124 …or_str << "Attempted copy update to texel buffer descriptor failed due to: " << error_msg->c_str(); in VerifyCopyUpdateContents()
2125 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2136 … if (!cvdescriptorset::ValidateBufferUsage(GetBufferState(buffer), type, error_code, error_msg)) { in VerifyCopyUpdateContents()
2138 … error_str << "Attempted copy update to buffer descriptor failed due to: " << error_msg->c_str(); in VerifyCopyUpdateContents()
2139 *error_msg = error_str.str(); in VerifyCopyUpdateContents()
2287 // If so, return true. If not, fill in error_msg and return false
2290 std::string *error_msg) { in VerifyUpdateConsistency() argument
2319 *error_msg = error_str.str(); in VerifyUpdateConsistency()
2331 // If an error would occur for this update, return false and fill in details in error_msg string
2333 std::string *error_code, std::string *error_msg) { in ValidateWriteUpdate() argument
2339 …string_sprintf(error_msg, "Cannot call %s to perform write update on %s which has been destroyed",… in ValidateWriteUpdate()
2348 *error_msg = error_str.str(); in ValidateWriteUpdate()
2359 *error_msg = error_str.str(); in ValidateWriteUpdate()
2371 *error_msg = error_str.str(); in ValidateWriteUpdate()
2383 *error_msg = error_str.str(); in ValidateWriteUpdate()
2395 *error_msg = error_str.str(); in ValidateWriteUpdate()
2405 *error_msg = error_str.str(); in ValidateWriteUpdate()
2414 *error_msg = error_str.str(); in ValidateWriteUpdate()
2432 *error_msg = error_str.str(); in ValidateWriteUpdate()
2443 *error_msg = error_str.str(); in ValidateWriteUpdate()
2450 error_msg)) { in ValidateWriteUpdate()
2456 if (!VerifyWriteUpdateContents(dest_set, update, start_idx, func_name, error_code, error_msg)) { in ValidateWriteUpdate()
2459 << " failed with error message: " << error_msg->c_str(); in ValidateWriteUpdate()
2460 *error_msg = error_str.str(); in ValidateWriteUpdate()
2469 … const char *func_name, std::string *error_code, std::string *error_msg) { in VerifyWriteUpdateContents() argument
2479 …eImageUpdate(image_view, image_layout, update->descriptorType, func_name, error_code, error_msg)) { in VerifyWriteUpdateContents()
2482 << error_msg->c_str(); in VerifyWriteUpdateContents()
2483 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2498 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2511 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2528 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2543 …eImageUpdate(image_view, image_layout, update->descriptorType, func_name, error_code, error_msg)) { in VerifyWriteUpdateContents()
2545 … error_str << "Attempted write update to image descriptor failed due to: " << error_msg->c_str(); in VerifyWriteUpdateContents()
2546 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2561 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2571 << ") has been destroyed: " << error_msg->c_str(); in VerifyWriteUpdateContents()
2572 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2574 …vdescriptorset::ValidateBufferUsage(buffer_state, update->descriptorType, error_code, error_msg)) { in VerifyWriteUpdateContents()
2576 …r_str << "Attempted write update to texel buffer descriptor failed due to: " << error_msg->c_str(); in VerifyWriteUpdateContents()
2577 *error_msg = error_str.str(); in VerifyWriteUpdateContents()
2588 …BufferUpdate(update->pBufferInfo + di, update->descriptorType, func_name, error_code, error_msg)) { in VerifyWriteUpdateContents()
2590 … error_str << "Attempted write update to buffer descriptor failed due to: " << error_msg->c_str(); in VerifyWriteUpdateContents()
2591 *error_msg = error_str.str(); in VerifyWriteUpdateContents()