projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c76295
)
intel/eu: Add a brw_urb_dest_msg_type helper
author
Jason Ekstrand
<jason@jlekstrand.net>
Thu, 12 Sep 2019 18:23:46 +0000
(13:23 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 23 Jun 2020 17:43:54 +0000
(17:43 +0000)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5596>
src/intel/compiler/brw_eu.h
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_eu.h
b/src/intel/compiler/brw_eu.h
index 1d509eb026ceef1e228570f615f76c27fb692106..98de515352530dd8b6ea248595a2d449bb79f37c 100644
(file)
--- a/
src/intel/compiler/brw_eu.h
+++ b/
src/intel/compiler/brw_eu.h
@@
-333,6
+333,14
@@
brw_urb_desc(const struct gen_device_info *devinfo,
}
}
+static inline uint32_t
+brw_urb_desc_msg_type(ASSERTED const struct gen_device_info *devinfo,
+ uint32_t desc)
+{
+ assert(devinfo->gen >= 7);
+ return GET_BITS(desc, 3, 0);
+}
+
/**
* Construct a message descriptor immediate with the specified sampler
* function controls.