Skip to content

Commit

Permalink
physical addressing and constant uniform buffer and incompatible (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Oct 10, 2023
1 parent 7412943 commit ce2b7f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,13 @@ int ParseOptions(const int argc, const char *const argv[]) {
return -1;
}

if (clspv::Option::PhysicalStorageBuffers() &&
clspv::Option::ConstantArgsInUniformBuffer()) {
llvm::errs() << "error: -physical-storage-buffers and -constant-args-ubo "
"are incompatible\n";
return -1;
}

return 0;
}

Expand Down

0 comments on commit ce2b7f0

Please sign in to comment.