Lines Matching refs:state
43 struct panfrost_shader_state *state)
56 state->xfb = calloc(1, sizeof(struct panfrost_shader_state));
57 panfrost_shader_compile(pscreen, shader_pool, desc_pool, xfb, state->xfb);
65 NIR_PASS_V(s, nir_lower_fragcolor, state->key.fs.nr_cbufs);
67 if (state->key.fs.sprite_coord_enable) {
69 state->key.fs.sprite_coord_enable,
74 if (state->key.fs.clip_plane_enable) {
76 state->key.fs.clip_plane_enable,
86 .fixed_varying_mask = state->key.fixed_varying_mask
93 memcpy(inputs.rt_formats, state->key.fs.rt_formats, sizeof(inputs.rt_formats));
98 screen->vtbl.compile_shader(s, &inputs, &binary, &state->info);
101 state->bin = panfrost_pool_take_ref(shader_pool,
112 screen->vtbl.prepare_shader(state, desc_pool, upload);
114 panfrost_analyze_sysvals(state);