intel/compiler: extract brw_nir_load_global_const out of rt code
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13661>
This commit is contained in:

committed by
Marge Bot

parent
1f438eb033
commit
28e0c63a4c
@@ -27,6 +27,7 @@
|
||||
#include "brw_reg.h"
|
||||
#include "compiler/nir/nir.h"
|
||||
#include "brw_compiler.h"
|
||||
#include "nir_builder.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -191,6 +192,10 @@ nir_shader *brw_nir_create_passthrough_tcs(void *mem_ctx,
|
||||
|
||||
bool brw_nir_move_interpolation_to_top(nir_shader *nir);
|
||||
bool brw_nir_demote_sample_qualifiers(nir_shader *nir);
|
||||
nir_ssa_def *brw_nir_load_global_const(nir_builder *b,
|
||||
nir_intrinsic_instr *load_uniform,
|
||||
nir_ssa_def *base_addr,
|
||||
unsigned off);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user