Home
last modified time | relevance | path

Searched refs:ir3_shader_variant (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.h41 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;
60 static inline const struct ir3_shader_variant *
71 void fd6_emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so);
Dfd6_const.h32 void fd6_emit_ibo_consts(struct fd6_emit *emit, const struct ir3_shader_variant *v,
34 void fd6_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring,
36 void fd6_emit_immediates(struct fd_screen *screen, const struct ir3_shader_variant *v,
39 const struct ir3_shader_variant *producer,
40 const struct ir3_shader_variant *v, struct fd_ringbuffer *ring);
Dfd6_const.c38 const struct ir3_shader_variant *v, uint32_t regid, in fd6_emit_const_user()
77 const struct ir3_shader_variant *v, uint32_t regid, in fd6_emit_const_bo()
126 const struct ir3_shader_variant *v, uint32_t dst_offset, in emit_const_ptrs()
133 emit_tess_bos(struct fd_ringbuffer *ring, struct fd6_emit *emit, struct ir3_shader_variant *s) in emit_tess_bos()
150 emit_stage_tess_consts(struct fd_ringbuffer *ring, struct ir3_shader_variant *v, in emit_stage_tess_consts()
211 struct ir3_shader_variant *prev; in emit_tess_consts()
232 fd6_emit_ubos(struct fd_context *ctx, const struct ir3_shader_variant *v, in fd6_emit_ubos()
281 user_consts_cmdstream_size(struct ir3_shader_variant *v) in user_consts_cmdstream_size()
310 struct ir3_shader_variant *variants[] = { in emit_user_consts()
348 const struct ir3_shader_variant *vs = emit->vs; in fd6_emit_consts()
[all …]
Dfd6_emit.h101 struct ir3_shader_variant *bs;
102 struct ir3_shader_variant *vs;
103 struct ir3_shader_variant *hs;
104 struct ir3_shader_variant *ds;
105 struct ir3_shader_variant *gs;
106 struct ir3_shader_variant *fs;
275 const struct ir3_shader_variant *v, struct fd_context *ctx);
280 struct ir3_shader_variant *cp);
Dfd6_image.h36 struct ir3_shader_variant;
38 const struct ir3_shader_variant *v, enum pipe_shader_type shader);
Dfd6_program.c45 fd6_emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so) in fd6_emit_shader()
117 link_stream_out(struct ir3_shader_linkage *l, const struct ir3_shader_variant *v) in link_stream_out()
161 setup_stream_out(struct fd6_program_state *state, const struct ir3_shader_variant *v, in setup_stream_out()
332 static const struct ir3_shader_variant dummy_fs = {0}; in setup_stateobj()
333 const struct ir3_shader_variant *vs = binning_pass ? state->bs : state->vs; in setup_stateobj()
334 const struct ir3_shader_variant *hs = state->hs; in setup_stateobj()
335 const struct ir3_shader_variant *ds = state->ds; in setup_stateobj()
336 const struct ir3_shader_variant *gs = state->gs; in setup_stateobj()
337 const struct ir3_shader_variant *fs = binning_pass ? &dummy_fs : state->fs; in setup_stateobj()
481 const struct ir3_shader_variant *last_shader = fd6_last_shader(state); in setup_stateobj()
[all …]
Dfd6_compute.c77 cs_program_emit(struct fd_ringbuffer *ring, struct ir3_shader_variant *v) in cs_program_emit()
139 struct ir3_shader_variant *v; in fd6_launch_grid()
143 v = ir3_shader_variant(so->shader, key, false, &ctx->debug); in fd6_launch_grid()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir.h48 struct ir3_shader_variant *v, unsigned topology);
49 void ir3_nir_lower_to_explicit_input(nir_shader *shader, struct ir3_shader_variant *v);
50 void ir3_nir_lower_tess_ctrl(nir_shader *shader, struct ir3_shader_variant *v, unsigned topology);
51 void ir3_nir_lower_tess_eval(nir_shader *shader, struct ir3_shader_variant *v, unsigned topology);
58 void ir3_nir_lower_variant(struct ir3_shader_variant *so, nir_shader *s);
60 void ir3_setup_const_state(nir_shader *nir, struct ir3_shader_variant *v,
62 void ir3_nir_analyze_ubo_ranges(nir_shader *nir, struct ir3_shader_variant *v);
63 bool ir3_nir_lower_ubo_loads(nir_shader *nir, struct ir3_shader_variant *v);
Dir3_shader.h481 struct ir3_shader_variant { struct
494 struct ir3_shader_variant *binning; argument
495 struct ir3_shader_variant *nonbinning; argument
501 struct ir3_shader_variant *next; argument
522 #define VARIANT_CACHE_START offsetof(struct ir3_shader_variant, info) argument
524 #define VARIANT_CACHE_SIZE (sizeof(struct ir3_shader_variant) - VARIANT_CACHE_START)
676 ir3_shader_stage(struct ir3_shader_variant *v) in ir3_shader_stage() argument
727 struct ir3_shader_variant *variants;
744 ir3_const_state(const struct ir3_shader_variant *v) in ir3_const_state()
755 ir3_max_const(const struct ir3_shader_variant *v) in ir3_max_const()
[all …]
Dir3_shader.c58 fixup_regfootprint(struct ir3_shader_variant *v) in fixup_regfootprint()
125 void * ir3_shader_assemble(struct ir3_shader_variant *v) in ir3_shader_assemble()
153 assemble_variant(struct ir3_shader_variant *v) in assemble_variant()
171 compile_variant(struct ir3_shader_variant *v) in compile_variant()
195 static struct ir3_shader_variant *
197 struct ir3_shader_variant *nonbinning) in alloc_variant()
205 struct ir3_shader_variant *v = rzalloc_size(mem_ctx, sizeof(*v)); in alloc_variant()
225 needs_binning_variant(struct ir3_shader_variant *v) in needs_binning_variant()
232 static struct ir3_shader_variant *
235 struct ir3_shader_variant *v = alloc_variant(shader, key, NULL); in create_variant()
[all …]
Dir3_disk_cache.c106 struct ir3_shader_variant *v, cache_key cache_key) in compute_variant_key()
121 retrieve_variant(struct blob_reader *blob, struct ir3_shader_variant *v) in retrieve_variant()
142 store_variant(struct blob *blob, struct ir3_shader_variant *v) in store_variant()
162 struct ir3_shader_variant *v) in ir3_disk_cache_retrieve()
201 struct ir3_shader_variant *v) in ir3_disk_cache_store()
Dir3_compiler.h120 struct ir3_shader_variant *v);
122 struct ir3_shader_variant *v);
125 struct ir3_shader_variant *so);
Dir3_context.h53 struct ir3_shader_variant *so;
174 struct ir3_shader_variant *so);
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cache.h54 struct ir3_shader_variant *bs, /* binning pass vs */
55 struct ir3_shader_variant *vs,
56 struct ir3_shader_variant *hs,
57 struct ir3_shader_variant *ds,
58 struct ir3_shader_variant *gs,
59 struct ir3_shader_variant *fs,
Dir3_gallium.c47 dump_shader_info(struct ir3_shader_variant *v, struct pipe_debug_callback *debug) in dump_shader_info()
82 upload_shader_variant(struct ir3_shader_variant *v) in upload_shader_variant()
102 struct ir3_shader_variant *
103 ir3_shader_variant(struct ir3_shader *shader, struct ir3_shader_key key, in ir3_shader_variant() function
106 struct ir3_shader_variant *v; in ir3_shader_variant()
221 struct ir3_shader_variant *v = ir3_shader_variant(shader, key, false, debug); in ir3_shader_create()
227 ir3_shader_variant(shader, key, false, debug); in ir3_shader_create()
232 v = ir3_shader_variant(shader, key, true, debug); in ir3_shader_create()
238 ir3_shader_variant(shader, key, true, debug); in ir3_shader_create()
275 ir3_shader_variant(shader, key, false, debug); in ir3_shader_create_compute()
[all …]
Dir3_const.h43 const struct ir3_shader_variant *v, uint32_t regid,
47 const struct ir3_shader_variant *v, uint32_t regid,
52 const struct ir3_shader_variant *v, uint32_t regid, in emit_const_prsc()
61 const struct ir3_shader_variant *v, uint32_t dst_offset,
66 const struct ir3_shader_variant *v, in emit_const_asserts()
115 ir3_emit_user_consts(struct fd_screen *screen, const struct ir3_shader_variant *v, in ir3_emit_user_consts()
161 ir3_emit_ubos(struct fd_context *ctx, const struct ir3_shader_variant *v, in ir3_emit_ubos()
211 ir3_emit_ssbo_sizes(struct fd_screen *screen, const struct ir3_shader_variant *v, in ir3_emit_ssbo_sizes()
231 ir3_emit_image_dims(struct fd_screen *screen, const struct ir3_shader_variant *v, in ir3_emit_image_dims()
284 ir3_emit_immediates(struct fd_screen *screen, const struct ir3_shader_variant *v, in ir3_emit_immediates()
[all …]
Dir3_cache.c107 struct ir3_shader_variant *variants[MESA_SHADER_STAGES]; in ir3_cache_lookup()
114 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup()
129 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup()
135 struct ir3_shader_variant *bs; in ir3_cache_lookup()
139 bs = ir3_shader_variant(key->vs, key->key, true, debug); in ir3_cache_lookup()
Dir3_gallium.h43 struct ir3_shader_variant * ir3_shader_variant(struct ir3_shader *shader,
58 ir3_point_sprite(const struct ir3_shader_variant *fs, int i, in ir3_point_sprite()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.h58 const struct ir3_shader_variant *vs, *fs;
69 static inline const struct ir3_shader_variant *
74 emit->vs = ir3_shader_variant(shader, emit->key, in fd4_emit_get_vp()
80 static inline const struct ir3_shader_variant *
86 static const struct ir3_shader_variant binning_fs = {}; in fd4_emit_get_fp()
90 emit->fs = ir3_shader_variant(shader, emit->key, in fd4_emit_get_fp()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.h57 const struct ir3_shader_variant *vs, *fs;
60 static inline const struct ir3_shader_variant *
65 emit->vs = ir3_shader_variant(shader, emit->key, in fd3_emit_get_vp()
71 static inline const struct ir3_shader_variant *
77 static const struct ir3_shader_variant binning_fs = {}; in fd3_emit_get_fp()
81 emit->fs = ir3_shader_variant(shader, emit->key, in fd3_emit_get_fp()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.h63 const struct ir3_shader_variant *vs, *fs;
76 static inline const struct ir3_shader_variant *
81 emit->vs = ir3_shader_variant(shader, emit->key, in fd5_emit_get_vp()
87 static inline const struct ir3_shader_variant *
93 static const struct ir3_shader_variant binning_fs = {}; in fd5_emit_get_fp()
97 emit->fs = ir3_shader_variant(shader, emit->key, in fd5_emit_get_fp()
197 struct ir3_shader_variant *cp);
198 void fd5_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *ring,
Dfd5_image.h32 struct ir3_shader_variant;
34 enum pipe_shader_type shader, const struct ir3_shader_variant *v);
Dfd5_compute.c73 cs_program_emit(struct fd_ringbuffer *ring, struct ir3_shader_variant *v, in cs_program_emit()
157 struct ir3_shader_variant *v; in fd5_launch_grid()
161 v = ir3_shader_variant(so->shader, key, false, &ctx->debug); in fd5_launch_grid()
Dfd5_program.h37 void fd5_emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so);
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c253 struct ir3_shader_variant *variants[MESA_SHADER_STAGES];
254 struct ir3_shader_variant *binning_variant;
332 const struct ir3_shader_variant *xs, in tu6_emit_xs_config()
473 const struct ir3_shader_variant *v, in tu6_emit_cs_config()
501 const struct ir3_shader_variant *vs, in tu6_emit_vs_system_values()
502 const struct ir3_shader_variant *hs, in tu6_emit_vs_system_values()
503 const struct ir3_shader_variant *ds, in tu6_emit_vs_system_values()
504 const struct ir3_shader_variant *gs, in tu6_emit_vs_system_values()
562 const struct ir3_shader_variant *v) in tu6_link_streamout()
607 const struct ir3_shader_variant *v, in tu6_setup_streamout()
[all …]

123