Fix: GPU: Crash caused by buffer overflow of name buffer
This was caused by the name buffer not being sized accordingly. Now counts the specialization constants.
This commit is contained in:
@@ -790,6 +790,7 @@ struct ShaderCreateInfo {
|
||||
break;
|
||||
}
|
||||
specialization_constants_.append(constant);
|
||||
interface_names_size_ += name.size() + 1;
|
||||
return *(Self *)this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user