projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel/eu: Add a mechanism for emitting relocatable constant MOVs
[mesa.git]
/
src
/
intel
/
compiler
/
brw_eu.cpp
diff --git
a/src/intel/compiler/brw_eu.cpp
b/src/intel/compiler/brw_eu.cpp
index 0027b0a396552caf9bb027574826d41c495d76ac..4bd52df5085651761b1a63f56ec48783f8debc78 100644
(file)
--- a/
src/intel/compiler/brw_eu.cpp
+++ b/
src/intel/compiler/brw_eu.cpp
@@
-363,6
+363,13
@@
const unsigned *brw_get_program( struct brw_codegen *p,
return (const unsigned *)p->store;
}
return (const unsigned *)p->store;
}
+const brw_shader_reloc *
+brw_get_shader_relocs(struct brw_codegen *p, unsigned *num_relocs)
+{
+ *num_relocs = p->num_relocs;
+ return p->relocs;
+}
+
bool brw_try_override_assembly(struct brw_codegen *p, int start_offset,
const char *identifier)
{
bool brw_try_override_assembly(struct brw_codegen *p, int start_offset,
const char *identifier)
{