mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 02:10:51 +00:00
Updated spirv-tools.
This commit is contained in:
@@ -754,6 +754,10 @@ bool Loop::FindNumberOfIterations(const Instruction* induction,
|
||||
// |step_value| is NOT cleanly divisible then we add one to the sum.
|
||||
int64_t Loop::GetIterations(SpvOp condition, int64_t condition_value,
|
||||
int64_t init_value, int64_t step_value) const {
|
||||
if (step_value == 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int64_t diff = 0;
|
||||
|
||||
switch (condition) {
|
||||
|
||||
Reference in New Issue
Block a user