Lines Matching refs:gfx
124 state->gfx.dynamic = default_dynamic_state; in anv_cmd_state_init()
140 anv_cmd_pipeline_state_finish(cmd_buffer, &state->gfx.base); in anv_cmd_state_finish()
354 cmd_buffer->state.gfx.base.pipeline = pipeline; in anv_CmdBindPipeline()
355 cmd_buffer->state.gfx.vb_dirty |= pipeline->vb_used; in anv_CmdBindPipeline()
356 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_PIPELINE; in anv_CmdBindPipeline()
361 cmd_buffer->state.gfx.dirty |= pipeline->dynamic_state_mask; in anv_CmdBindPipeline()
362 anv_dynamic_state_copy(&cmd_buffer->state.gfx.dynamic, in anv_CmdBindPipeline()
382 if (cmd_buffer->state.gfx.dynamic.viewport.count < total_count) in anv_CmdSetViewport()
383 cmd_buffer->state.gfx.dynamic.viewport.count = total_count; in anv_CmdSetViewport()
385 memcpy(cmd_buffer->state.gfx.dynamic.viewport.viewports + firstViewport, in anv_CmdSetViewport()
388 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_VIEWPORT; in anv_CmdSetViewport()
400 if (cmd_buffer->state.gfx.dynamic.scissor.count < total_count) in anv_CmdSetScissor()
401 cmd_buffer->state.gfx.dynamic.scissor.count = total_count; in anv_CmdSetScissor()
403 memcpy(cmd_buffer->state.gfx.dynamic.scissor.scissors + firstScissor, in anv_CmdSetScissor()
406 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_SCISSOR; in anv_CmdSetScissor()
415 cmd_buffer->state.gfx.dynamic.line_width = lineWidth; in anv_CmdSetLineWidth()
416 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_LINE_WIDTH; in anv_CmdSetLineWidth()
427 cmd_buffer->state.gfx.dynamic.depth_bias.bias = depthBiasConstantFactor; in anv_CmdSetDepthBias()
428 cmd_buffer->state.gfx.dynamic.depth_bias.clamp = depthBiasClamp; in anv_CmdSetDepthBias()
429 cmd_buffer->state.gfx.dynamic.depth_bias.slope = depthBiasSlopeFactor; in anv_CmdSetDepthBias()
431 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS; in anv_CmdSetDepthBias()
440 memcpy(cmd_buffer->state.gfx.dynamic.blend_constants, in anv_CmdSetBlendConstants()
443 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_BLEND_CONSTANTS; in anv_CmdSetBlendConstants()
453 cmd_buffer->state.gfx.dynamic.depth_bounds.min = minDepthBounds; in anv_CmdSetDepthBounds()
454 cmd_buffer->state.gfx.dynamic.depth_bounds.max = maxDepthBounds; in anv_CmdSetDepthBounds()
456 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS; in anv_CmdSetDepthBounds()
467 cmd_buffer->state.gfx.dynamic.stencil_compare_mask.front = compareMask; in anv_CmdSetStencilCompareMask()
469 cmd_buffer->state.gfx.dynamic.stencil_compare_mask.back = compareMask; in anv_CmdSetStencilCompareMask()
471 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_COMPARE_MASK; in anv_CmdSetStencilCompareMask()
482 cmd_buffer->state.gfx.dynamic.stencil_write_mask.front = writeMask; in anv_CmdSetStencilWriteMask()
484 cmd_buffer->state.gfx.dynamic.stencil_write_mask.back = writeMask; in anv_CmdSetStencilWriteMask()
486 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_WRITE_MASK; in anv_CmdSetStencilWriteMask()
497 cmd_buffer->state.gfx.dynamic.stencil_reference.front = reference; in anv_CmdSetStencilReference()
499 cmd_buffer->state.gfx.dynamic.stencil_reference.back = reference; in anv_CmdSetStencilReference()
501 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_REFERENCE; in anv_CmdSetStencilReference()
521 pipe_state = &cmd_buffer->state.gfx.base; in anv_cmd_buffer_bind_descriptor_set()
593 cmd_buffer->state.gfx.vb_dirty |= 1 << (firstBinding + i); in anv_CmdBindVertexBuffers()
675 struct anv_pipeline *pipeline = cmd_buffer->state.gfx.base.pipeline; in anv_cmd_buffer_push_constants()
884 pipe_state = &cmd_buffer->state.gfx.base; in anv_cmd_buffer_get_push_descriptor_set()