diff options
author | Rob Clark <[email protected]> | 2018-01-29 15:24:17 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-02-10 14:54:58 -0500 |
commit | a84e32484778fb535d3ad8a266b884e14ad194da (patch) | |
tree | d876f6599ecd1db514fed54434caad203f0f6795 /include/c11 | |
parent | a5c28fe07b2822866aaedfe94362918904bd8869 (diff) |
freedreno/ir3: fix printing of relative branch offsets
The number of bits depends on generation. But printing negative values
with a5xx encoding (largest size) but compiling for a3xx or a4xx, would
result in negative values printed as large positive values.
I guess in practice huge negative branch offsets aren't likely (and if
that is the case, the shader is probably too big to grok by reading the
assembly). So just print using smallest bitfield size.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'include/c11')
0 files changed, 0 insertions, 0 deletions