/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.h | 47 struct ir3_shader_variant *v, 50 struct ir3_shader_variant *v); 51 void ir3_nir_lower_tess_ctrl(nir_shader *shader, struct ir3_shader_variant *v, 53 void ir3_nir_lower_tess_eval(nir_shader *shader, struct ir3_shader_variant *v, 68 void ir3_nir_lower_variant(struct ir3_shader_variant *so, nir_shader *s); 70 void ir3_setup_const_state(nir_shader *nir, struct ir3_shader_variant *v, 72 bool ir3_nir_lower_load_constant(nir_shader *nir, struct ir3_shader_variant *v); 73 void ir3_nir_analyze_ubo_ranges(nir_shader *nir, struct ir3_shader_variant *v); 74 bool ir3_nir_lower_ubo_loads(nir_shader *nir, struct ir3_shader_variant *v); 76 bool ir3_nir_opt_preamble(nir_shader *nir, struct ir3_shader_variant *v); [all …]
|
D | ir3_shader.h | 490 struct ir3_shader_variant { struct 506 struct ir3_shader_variant *binning; argument 507 struct ir3_shader_variant *nonbinning; argument 513 struct ir3_shader_variant *next; argument 542 #define VARIANT_CACHE_START offsetof(struct ir3_shader_variant, info) argument 545 (sizeof(struct ir3_shader_variant) - VARIANT_CACHE_START) 777 ir3_shader_stage(struct ir3_shader_variant *v) in ir3_shader_stage() argument 855 struct ir3_shader_variant *variants; 874 ir3_const_state(const struct ir3_shader_variant *v) in ir3_const_state() 884 ir3_max_const(const struct ir3_shader_variant *v) in ir3_max_const() [all …]
|
D | ir3_shader.c | 62 fixup_regfootprint(struct ir3_shader_variant *v) in fixup_regfootprint() 130 ir3_shader_assemble(struct ir3_shader_variant *v) in ir3_shader_assemble() 195 try_override_shader_variant(struct ir3_shader_variant *v, in try_override_shader_variant() 232 assemble_variant(struct ir3_shader_variant *v) in assemble_variant() 291 compile_variant(struct ir3_shader *shader, struct ir3_shader_variant *v) in compile_variant() 315 static struct ir3_shader_variant * 317 struct ir3_shader_variant *nonbinning, void *mem_ctx) in alloc_variant() 324 struct ir3_shader_variant *v = rzalloc_size(mem_ctx, sizeof(*v)); in alloc_variant() 389 needs_binning_variant(struct ir3_shader_variant *v) in needs_binning_variant() 396 static struct ir3_shader_variant * [all …]
|
D | ir3_disk_cache.c | 108 compute_variant_key(struct ir3_shader *shader, struct ir3_shader_variant *v, in compute_variant_key() 125 retrieve_variant(struct blob_reader *blob, struct ir3_shader_variant *v) in retrieve_variant() 146 store_variant(struct blob *blob, struct ir3_shader_variant *v) in store_variant() 166 struct ir3_shader_variant * 170 struct ir3_shader_variant *v = rzalloc_size(mem_ctx, sizeof(*v)); in ir3_retrieve_variant() 202 ir3_store_variant(struct blob *blob, struct ir3_shader_variant *v) in ir3_store_variant() 217 struct ir3_shader_variant *v) in ir3_disk_cache_retrieve() 256 struct ir3_shader_variant *v) in ir3_disk_cache_store()
|
D | ir3_compiler.h | 231 struct ir3_shader_variant *ir3_retrieve_variant(struct blob_reader *blob, 234 void ir3_store_variant(struct blob *blob, struct ir3_shader_variant *v); 236 struct ir3_shader_variant *v); 238 struct ir3_shader_variant *v); 245 struct ir3_shader_variant *so);
|
D | ir3_ra.h | 162 void ir3_calc_pressure(struct ir3_shader_variant *v, struct ir3_liveness *live, 165 bool ir3_spill(struct ir3 *ir, struct ir3_shader_variant *v, 171 void ir3_ra_validate(struct ir3_shader_variant *v, unsigned full_size, 174 void ir3_lower_copies(struct ir3_shader_variant *v);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.h | 41 struct ir3_shader_variant *bs; /* binning pass vs */ 42 struct ir3_shader_variant *vs; 43 struct ir3_shader_variant *hs; 44 struct ir3_shader_variant *ds; 45 struct ir3_shader_variant *gs; 46 struct ir3_shader_variant *fs; 69 static inline const struct ir3_shader_variant * 81 const struct ir3_shader_variant *so) assert_dt;
|
D | fd6_const.c | 38 const struct ir3_shader_variant *v, uint32_t regid, in fd6_emit_const_user() 69 const struct ir3_shader_variant *v, uint32_t regid, in fd6_emit_const_bo() 103 emit_const_ptrs(struct fd_ringbuffer *ring, const struct ir3_shader_variant *v, in emit_const_ptrs() 111 emit_stage_tess_consts(struct fd_ringbuffer *ring, struct ir3_shader_variant *v, in emit_stage_tess_consts() 166 struct ir3_shader_variant *prev; in fd6_build_tess_consts() 188 fd6_emit_ubos(struct fd_context *ctx, const struct ir3_shader_variant *v, in fd6_emit_ubos() 240 user_consts_cmdstream_size(struct ir3_shader_variant *v) in user_consts_cmdstream_size() 269 struct ir3_shader_variant *variants[] = { in fd6_build_user_consts() 341 fd6_emit_cs_consts(const struct ir3_shader_variant *v, in fd6_emit_cs_consts() 351 const struct ir3_shader_variant *v, in fd6_emit_immediates() [all …]
|
D | fd6_emit.h | 108 struct ir3_shader_variant *bs; 109 struct ir3_shader_variant *vs; 110 struct ir3_shader_variant *hs; 111 struct ir3_shader_variant *ds; 112 struct ir3_shader_variant *gs; 113 struct ir3_shader_variant *fs; 284 const struct ir3_shader_variant *v) assert_dt; 290 struct ir3_shader_variant *cp) assert_dt;
|
D | fd6_const.h | 35 void fd6_emit_cs_consts(const struct ir3_shader_variant *v, 39 const struct ir3_shader_variant *v, 42 const struct ir3_shader_variant *producer, 43 const struct ir3_shader_variant *v,
|
D | fd6_program.c | 45 const struct ir3_shader_variant *so) in fd6_emit_shader() 188 const struct ir3_shader_variant *v, in setup_stream_out() 368 const struct ir3_shader_variant *s) assert_dt in fd6_emit_tess_bos() 412 static const struct ir3_shader_variant dummy_fs = {0}; in setup_stateobj() 413 const struct ir3_shader_variant *vs = binning_pass ? state->bs : state->vs; in setup_stateobj() 414 const struct ir3_shader_variant *hs = state->hs; in setup_stateobj() 415 const struct ir3_shader_variant *ds = state->ds; in setup_stateobj() 416 const struct ir3_shader_variant *gs = state->gs; in setup_stateobj() 417 const struct ir3_shader_variant *fs = binning_pass ? &dummy_fs : state->fs; in setup_stateobj() 576 const struct ir3_shader_variant *last_shader = fd6_last_shader(state); in setup_stateobj() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cache.h | 61 void *data, struct ir3_shader_variant *bs, /* binning pass vs */ 62 struct ir3_shader_variant *vs, struct ir3_shader_variant *hs, 63 struct ir3_shader_variant *ds, struct ir3_shader_variant *gs, 64 struct ir3_shader_variant *fs, const struct ir3_cache_key *key);
|
D | ir3_const.h | 43 const struct ir3_shader_variant *v, uint32_t regid, 47 const struct ir3_shader_variant *v, uint32_t regid, 51 emit_const_prsc(struct fd_ringbuffer *ring, const struct ir3_shader_variant *v, in emit_const_prsc() 60 const struct ir3_shader_variant *v, 66 const struct ir3_shader_variant *v, uint32_t regid, in emit_const_asserts() 115 const struct ir3_shader_variant *v, in ir3_emit_constant_data() 155 const struct ir3_shader_variant *v, in ir3_emit_user_consts() 204 ir3_emit_ubos(struct fd_context *ctx, const struct ir3_shader_variant *v, in ir3_emit_ubos() 258 const struct ir3_shader_variant *v, in ir3_emit_image_dims() 312 const struct ir3_shader_variant *v, in ir3_emit_immediates() [all …]
|
D | ir3_gallium.c | 77 dump_shader_info(struct ir3_shader_variant *v, in dump_shader_info() 103 upload_shader_variant(struct ir3_shader_variant *v) in upload_shader_variant() 119 struct ir3_shader_variant * 120 ir3_shader_variant(struct ir3_shader *shader, struct ir3_shader_key key, in ir3_shader_variant() function 123 struct ir3_shader_variant *v; in ir3_shader_variant() 219 struct ir3_shader_variant *v = ir3_shader_variant(shader, key, false, debug); in create_initial_variants() 225 ir3_shader_variant(shader, key, false, debug); in create_initial_variants() 231 v = ir3_shader_variant(shader, key, true, debug); in create_initial_variants() 237 ir3_shader_variant(shader, key, true, debug); in create_initial_variants() 261 ir3_shader_variant(shader, key, false, &debug); in create_initial_compute_variants_async() [all …]
|
D | ir3_gallium.h | 42 struct ir3_shader_variant * 43 ir3_shader_variant(struct ir3_shader *shader, struct ir3_shader_key key, 67 ir3_point_sprite(const struct ir3_shader_variant *fs, int i, in ir3_point_sprite() 83 const struct ir3_shader_variant *v) assert_dt;
|
D | ir3_cache.c | 111 struct ir3_shader_variant *variants[MESA_SHADER_STAGES]; in ir3_cache_lookup() 118 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup() 134 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup() 140 struct ir3_shader_variant *bs; in ir3_cache_lookup() 149 ir3_shader_variant(shaders[MESA_SHADER_VERTEX], shader_key, true, debug); in ir3_cache_lookup()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.h | 75 struct ir3_shader_variant *variants[MESA_SHADER_STAGES]; 243 const struct ir3_shader_variant *xs); 248 const struct ir3_shader_variant *xs, 254 const struct ir3_shader_variant *vs, 255 const struct ir3_shader_variant *hs, 256 const struct ir3_shader_variant *ds, 257 const struct ir3_shader_variant *gs, 258 const struct ir3_shader_variant *fs, 262 tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs);
|
D | tu_pipeline.c | 256 struct ir3_shader_variant *binning_variant; 401 tu_xs_get_immediates_packet_size_dwords(const struct ir3_shader_variant *xs) in tu_xs_get_immediates_packet_size_dwords() 420 tu_xs_get_additional_cs_size_dwords(const struct ir3_shader_variant *xs) in tu_xs_get_additional_cs_size_dwords() 440 const struct ir3_shader_variant *xs) in tu6_emit_xs_config() 471 const struct ir3_shader_variant *xs, in tu6_emit_xs() 673 const struct ir3_shader_variant *v, in tu6_emit_cs_config() 728 const struct ir3_shader_variant *vs, in tu6_emit_vs_system_values() 729 const struct ir3_shader_variant *hs, in tu6_emit_vs_system_values() 730 const struct ir3_shader_variant *ds, in tu6_emit_vs_system_values() 731 const struct ir3_shader_variant *gs, in tu6_emit_vs_system_values() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.h | 62 const struct ir3_shader_variant *vs, *fs; 74 static inline const struct ir3_shader_variant * 83 static inline const struct ir3_shader_variant * 89 static const struct ir3_shader_variant binning_fs = {}; in fd4_emit_get_fp() 105 struct ir3_shader_variant *cp) assert_dt; 106 void fd4_emit_cs_consts(const struct ir3_shader_variant *v,
|
D | fd4_program.h | 40 struct ir3_shader_variant *bs; /* VS for when emit->binning */ 41 struct ir3_shader_variant *vs; 42 struct ir3_shader_variant *fs; /* FS for when !emit->binning */ 52 const struct ir3_shader_variant *so);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.h | 40 struct ir3_shader_variant *bs; /* VS for when emit->binning */ 41 struct ir3_shader_variant *vs; 42 struct ir3_shader_variant *fs; /* FS for when !emit->binning */ 52 const struct ir3_shader_variant *so);
|
D | fd5_emit.h | 66 const struct ir3_shader_variant *vs, *fs; 80 static inline const struct ir3_shader_variant * 96 static inline const struct ir3_shader_variant * 102 static const struct ir3_shader_variant binning_fs = {}; in fd5_emit_get_fp() 211 struct ir3_shader_variant *cp) assert_dt; 212 void fd5_emit_cs_consts(const struct ir3_shader_variant *v,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.h | 63 const struct ir3_shader_variant *vs, *fs; 66 static inline const struct ir3_shader_variant * 75 static inline const struct ir3_shader_variant * 81 static const struct ir3_shader_variant binning_fs = {}; in fd3_emit_get_fp()
|
D | fd3_program.h | 40 struct ir3_shader_variant *bs; /* VS for when emit->binning */ 41 struct ir3_shader_variant *vs; 42 struct ir3_shader_variant *fs; /* FS for when !emit->binning */
|
D | fd3_program.c | 55 emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so) in emit_shader() 97 const struct ir3_shader_variant *vp, *fp; in fd3_program_emit() 453 fd3_program_create(void *data, struct ir3_shader_variant *bs, in fd3_program_create() 454 struct ir3_shader_variant *vs, struct ir3_shader_variant *hs, in fd3_program_create() 455 struct ir3_shader_variant *ds, struct ir3_shader_variant *gs, in fd3_program_create() 456 struct ir3_shader_variant *fs, in fd3_program_create()
|