GPU: Sort SSBOs In Shader Interface.
SSBOs weren't sorted, but other types were. This was an oversight when SSBOs were introduced (GPU compute pipeline). Issue identified by @fclem.
This commit is contained in:
@@ -74,6 +74,8 @@ void ShaderInterface::sort_inputs()
|
||||
sort_input_list(MutableSpan<ShaderInput>(inputs_, attr_len_));
|
||||
sort_input_list(MutableSpan<ShaderInput>(inputs_ + attr_len_, ubo_len_));
|
||||
sort_input_list(MutableSpan<ShaderInput>(inputs_ + attr_len_ + ubo_len_, uniform_len_));
|
||||
sort_input_list(
|
||||
MutableSpan<ShaderInput>(inputs_ + attr_len_ + ubo_len_ + uniform_len_, ssbo_len_));
|
||||
}
|
||||
|
||||
void ShaderInterface::debug_print()
|
||||
|
Reference in New Issue
Block a user