aboutsummaryrefslogtreecommitdiff
path: root/src/verifier.cc
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-03-13 12:09:17 -0400
committerGitHub <noreply@github.com>2019-03-13 12:09:17 -0400
commitec233ef980a26ef252c6cbe6ad123a5ff9532a31 (patch)
treed55834bc013a2ea767eceec2979868c0e337d060 /src/verifier.cc
parent88868a067b2ce2ab18ab5f20990c3800bf3d9a8e (diff)
downloadamber-ec233ef980a26ef252c6cbe6ad123a5ff9532a31.tar.gz
Remove GetDescriptorInfo and store in Buffer object. (#358)
This Cl stores the relevant data into the amber::Buffer and removes the need to call GetDescriptorInfo to retrieve the data.
Diffstat (limited to 'src/verifier.cc')
-rw-r--r--src/verifier.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/verifier.cc b/src/verifier.cc
index d0bbd0a..ac0f80d 100644
--- a/src/verifier.cc
+++ b/src/verifier.cc
@@ -656,7 +656,6 @@ Result Verifier::ProbeSSBO(const ProbeSSBOCommand* command,
size_t bytes_per_elem = datum_type.SizeInBytes() / datum_type.RowCount() /
datum_type.ColumnCount();
size_t offset = static_cast<size_t>(command->GetOffset());
-
if (values.size() * bytes_per_elem + offset > size_in_bytes) {
return Result(
"Line " + std::to_string(command->GetLine()) +