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:
parent
7788293954
commit
b9d6271916
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue