intel/compiler: Export TCS passthrough creation
Move create_passthrough_tcs() from i965 so can be used in other contexts. Acked-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -164,6 +164,11 @@ nir_shader *brw_nir_optimize(nir_shader *nir,
|
||||
bool is_scalar,
|
||||
bool allow_copies);
|
||||
|
||||
nir_shader *brw_nir_create_passthrough_tcs(void *mem_ctx,
|
||||
const struct brw_compiler *compiler,
|
||||
const nir_shader_compiler_options *options,
|
||||
const struct brw_tcs_prog_key *key);
|
||||
|
||||
#define BRW_NIR_FRAG_OUTPUT_INDEX_SHIFT 0
|
||||
#define BRW_NIR_FRAG_OUTPUT_INDEX_MASK INTEL_MASK(0, 0)
|
||||
#define BRW_NIR_FRAG_OUTPUT_LOCATION_SHIFT 1
|
||||
|
Reference in New Issue
Block a user