Lines Matching refs:state

57    struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer;
203 struct crocus_shader_state *shs = &ice->state.shaders[stage];
209 if (ice->state.stage_dirty & stage_dirty) {
222 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer;
229 if (ice->state.dirty & CROCUS_DIRTY_DEPTH_BUFFER) {
242 num_layers, ice->state.hiz_usage);
270 if (ice->state.stage_dirty & CROCUS_STAGE_DIRTY_BINDINGS_FS) {
286 if (ice->state.draw_aux_usage[i] != aux_usage) {
287 ice->state.draw_aux_usage[i] = aux_usage;
289 ice->state.stage_dirty |= CROCUS_ALL_STAGE_DIRTY_BINDINGS;
319 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer;
325 ice->state.dirty & (CROCUS_DIRTY_DEPTH_BUFFER |
336 if (may_have_resolved_depth && ice->state.depth_writes_enabled) {
339 ice->state.hiz_usage);
342 if (ice->state.depth_writes_enabled)
351 if (may_have_resolved_depth && ice->state.stencil_writes_enabled) {
357 if (ice->state.stencil_writes_enabled)
363 ice->state.stage_dirty & CROCUS_STAGE_DIRTY_BINDINGS_FS;
373 enum isl_aux_usage aux_usage = ice->state.draw_aux_usage[i];
854 * will be in the required state. If it does not, no data is lost
898 /* Transition the aux state for a conditional or unconditional write. A
900 * only part of the render target. This prevents the new state from
901 * losing the types of compression that might exist in the current state
902 * (e.g. CLEAR). If the write evaluates to a no-op, the state will still
920 return res->aux.state[level][layer];
933 if (res->aux.state[level][start_layer + a] != aux_state) {
934 res->aux.state[level][start_layer + a] = aux_state;
935 ice->state.dirty |= CROCUS_DIRTY_RENDER_RESOLVES_AND_FLUSHES |
938 ice->state.stage_dirty |= CROCUS_ALL_STAGE_DIRTY_BINDINGS;