diff options
author | Jason Ekstrand <[email protected]> | 2018-12-04 22:00:33 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | 2e103fff63404916de1b2c4039cbeccb196117df (patch) | |
tree | 145cbeaf3d75bf444222fe9c57847cd34caaa466 /src/gallium/drivers/iris/iris_context.h | |
parent | 52baba80f3cfcd1862bc1e87c380746bfec056ca (diff) |
iris: Copy anv's MI_MATH helpers for multiplication and division
(import done by Ken but with author set to Jason because it's his
code that's being imported, so he deserves the credit)
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 01a2c0577b0..af9034cb12f 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -659,6 +659,10 @@ bool iris_blorp_upload_shader(struct blorp_batch *blorp_batch, /* iris_query.c */ +void iris_math_div32_gpr0(struct iris_context *ice, + struct iris_batch *batch, + uint32_t D); + uint64_t iris_timebase_scale(const struct gen_device_info *devinfo, uint64_t gpu_timestamp); |