diff options
author | Vasily Khoruzhick <[email protected]> | 2019-07-14 18:22:36 -0700 |
---|---|---|
committer | Vasily Khoruzhick <[email protected]> | 2019-07-14 19:49:14 -0700 |
commit | eb862c2365cbc68d07360628f72af0db426f6b6f (patch) | |
tree | c07c83a1147d6328d87bd3919bfec0d70ca33847 /src/amd/vulkan | |
parent | 8f0160ca249fcfda676b2bb42dc2726edba50f9a (diff) |
lima/ppir: Fix branch codegen
"unknown_2" field is actually a size of instruction that branch
points to. If it's set to a smaller size than actual instruction
branch behavior is not defined (and it usually wedges the GPU).
Fix it by setting this field correctly.
Fixes: af0de6b91c0b ("lima/ppir: implement discard and discard_if")
Reviewed-by: Qiang Yu <[email protected]>
Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
0 files changed, 0 insertions, 0 deletions