• Home
  • Raw
  • Download

Lines Matching refs:gfx

228    state->gfx.dynamic = default_dynamic_state;  in anv_cmd_state_init()
249 anv_cmd_pipeline_state_finish(cmd_buffer, &state->gfx.base); in anv_cmd_state_finish()
501 if (cmd_buffer->state.gfx.pipeline == gfx_pipeline) in anv_CmdBindPipeline()
504 cmd_buffer->state.gfx.pipeline = gfx_pipeline; in anv_CmdBindPipeline()
505 cmd_buffer->state.gfx.vb_dirty |= gfx_pipeline->vb_used; in anv_CmdBindPipeline()
506 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_PIPELINE; in anv_CmdBindPipeline()
514 cmd_buffer->state.gfx.dirty |= in anv_CmdBindPipeline()
515 anv_dynamic_state_copy(&cmd_buffer->state.gfx.dynamic, in anv_CmdBindPipeline()
549 cmd_buffer->state.gfx.dynamic.raster_discard = rasterizerDiscardEnable; in anv_CmdSetRasterizerDiscardEnableEXT()
551 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_RASTERIZER_DISCARD_ENABLE; in anv_CmdSetRasterizerDiscardEnableEXT()
560 cmd_buffer->state.gfx.dynamic.depth_bias_enable = depthBiasEnable; in anv_CmdSetDepthBiasEnableEXT()
562 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS_ENABLE; in anv_CmdSetDepthBiasEnableEXT()
571 cmd_buffer->state.gfx.dynamic.primitive_restart_enable = primitiveRestartEnable; in anv_CmdSetPrimitiveRestartEnableEXT()
573 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_PRIMITIVE_RESTART_ENABLE; in anv_CmdSetPrimitiveRestartEnableEXT()
582 cmd_buffer->state.gfx.dynamic.logic_op = logicOp; in anv_CmdSetLogicOpEXT()
584 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_LOGIC_OP; in anv_CmdSetLogicOpEXT()
604 if (cmd_buffer->state.gfx.dynamic.viewport.count < total_count) in anv_CmdSetViewport()
605 cmd_buffer->state.gfx.dynamic.viewport.count = total_count; in anv_CmdSetViewport()
607 memcpy(cmd_buffer->state.gfx.dynamic.viewport.viewports + firstViewport, in anv_CmdSetViewport()
610 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_VIEWPORT; in anv_CmdSetViewport()
620 cmd_buffer->state.gfx.dynamic.viewport.count = viewportCount; in anv_CmdSetViewportWithCountEXT()
622 memcpy(cmd_buffer->state.gfx.dynamic.viewport.viewports, in anv_CmdSetViewportWithCountEXT()
625 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_VIEWPORT; in anv_CmdSetViewportWithCountEXT()
637 if (cmd_buffer->state.gfx.dynamic.scissor.count < total_count) in anv_CmdSetScissor()
638 cmd_buffer->state.gfx.dynamic.scissor.count = total_count; in anv_CmdSetScissor()
640 memcpy(cmd_buffer->state.gfx.dynamic.scissor.scissors + firstScissor, in anv_CmdSetScissor()
643 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_SCISSOR; in anv_CmdSetScissor()
653 cmd_buffer->state.gfx.dynamic.scissor.count = scissorCount; in anv_CmdSetScissorWithCountEXT()
655 memcpy(cmd_buffer->state.gfx.dynamic.scissor.scissors, in anv_CmdSetScissorWithCountEXT()
658 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_SCISSOR; in anv_CmdSetScissorWithCountEXT()
667 cmd_buffer->state.gfx.dynamic.primitive_topology = primitiveTopology; in anv_CmdSetPrimitiveTopologyEXT()
669 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_PRIMITIVE_TOPOLOGY; in anv_CmdSetPrimitiveTopologyEXT()
678 cmd_buffer->state.gfx.dynamic.line_width = lineWidth; in anv_CmdSetLineWidth()
679 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_LINE_WIDTH; in anv_CmdSetLineWidth()
690 cmd_buffer->state.gfx.dynamic.depth_bias.bias = depthBiasConstantFactor; in anv_CmdSetDepthBias()
691 cmd_buffer->state.gfx.dynamic.depth_bias.clamp = depthBiasClamp; in anv_CmdSetDepthBias()
692 cmd_buffer->state.gfx.dynamic.depth_bias.slope = depthBiasSlopeFactor; in anv_CmdSetDepthBias()
694 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS; in anv_CmdSetDepthBias()
703 memcpy(cmd_buffer->state.gfx.dynamic.blend_constants, in anv_CmdSetBlendConstants()
706 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_BLEND_CONSTANTS; in anv_CmdSetBlendConstants()
716 cmd_buffer->state.gfx.dynamic.depth_bounds.min = minDepthBounds; in anv_CmdSetDepthBounds()
717 cmd_buffer->state.gfx.dynamic.depth_bounds.max = maxDepthBounds; in anv_CmdSetDepthBounds()
719 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS; in anv_CmdSetDepthBounds()
730 cmd_buffer->state.gfx.dynamic.stencil_compare_mask.front = compareMask; in anv_CmdSetStencilCompareMask()
732 cmd_buffer->state.gfx.dynamic.stencil_compare_mask.back = compareMask; in anv_CmdSetStencilCompareMask()
734 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_COMPARE_MASK; in anv_CmdSetStencilCompareMask()
745 cmd_buffer->state.gfx.dynamic.stencil_write_mask.front = writeMask; in anv_CmdSetStencilWriteMask()
747 cmd_buffer->state.gfx.dynamic.stencil_write_mask.back = writeMask; in anv_CmdSetStencilWriteMask()
749 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_WRITE_MASK; in anv_CmdSetStencilWriteMask()
760 cmd_buffer->state.gfx.dynamic.stencil_reference.front = reference; in anv_CmdSetStencilReference()
762 cmd_buffer->state.gfx.dynamic.stencil_reference.back = reference; in anv_CmdSetStencilReference()
764 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_REFERENCE; in anv_CmdSetStencilReference()
773 struct anv_dynamic_state *dyn_state = &cmd_buffer->state.gfx.dynamic; in anv_CmdSetSampleLocationsEXT()
780 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_SAMPLE_LOCATIONS; in anv_CmdSetSampleLocationsEXT()
790 cmd_buffer->state.gfx.dynamic.line_stipple.factor = lineStippleFactor; in anv_CmdSetLineStippleEXT()
791 cmd_buffer->state.gfx.dynamic.line_stipple.pattern = lineStipplePattern; in anv_CmdSetLineStippleEXT()
793 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_LINE_STIPPLE; in anv_CmdSetLineStippleEXT()
802 cmd_buffer->state.gfx.dynamic.cull_mode = cullMode; in anv_CmdSetCullModeEXT()
804 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_CULL_MODE; in anv_CmdSetCullModeEXT()
813 cmd_buffer->state.gfx.dynamic.front_face = frontFace; in anv_CmdSetFrontFaceEXT()
815 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_FRONT_FACE; in anv_CmdSetFrontFaceEXT()
825 cmd_buffer->state.gfx.dynamic.depth_test_enable = depthTestEnable; in anv_CmdSetDepthTestEnableEXT()
827 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_TEST_ENABLE; in anv_CmdSetDepthTestEnableEXT()
836 cmd_buffer->state.gfx.dynamic.depth_write_enable = depthWriteEnable; in anv_CmdSetDepthWriteEnableEXT()
838 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_WRITE_ENABLE; in anv_CmdSetDepthWriteEnableEXT()
847 cmd_buffer->state.gfx.dynamic.depth_compare_op = depthCompareOp; in anv_CmdSetDepthCompareOpEXT()
849 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_COMPARE_OP; in anv_CmdSetDepthCompareOpEXT()
858 cmd_buffer->state.gfx.dynamic.depth_bounds_test_enable = depthBoundsTestEnable; in anv_CmdSetDepthBoundsTestEnableEXT()
860 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS_TEST_ENABLE; in anv_CmdSetDepthBoundsTestEnableEXT()
869 cmd_buffer->state.gfx.dynamic.stencil_test_enable = stencilTestEnable; in anv_CmdSetStencilTestEnableEXT()
871 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_TEST_ENABLE; in anv_CmdSetStencilTestEnableEXT()
885 cmd_buffer->state.gfx.dynamic.stencil_op.front.fail_op = failOp; in anv_CmdSetStencilOpEXT()
886 cmd_buffer->state.gfx.dynamic.stencil_op.front.pass_op = passOp; in anv_CmdSetStencilOpEXT()
887 cmd_buffer->state.gfx.dynamic.stencil_op.front.depth_fail_op = depthFailOp; in anv_CmdSetStencilOpEXT()
888 cmd_buffer->state.gfx.dynamic.stencil_op.front.compare_op = compareOp; in anv_CmdSetStencilOpEXT()
892 cmd_buffer->state.gfx.dynamic.stencil_op.back.fail_op = failOp; in anv_CmdSetStencilOpEXT()
893 cmd_buffer->state.gfx.dynamic.stencil_op.back.pass_op = passOp; in anv_CmdSetStencilOpEXT()
894 cmd_buffer->state.gfx.dynamic.stencil_op.back.depth_fail_op = depthFailOp; in anv_CmdSetStencilOpEXT()
895 cmd_buffer->state.gfx.dynamic.stencil_op.back.compare_op = compareOp; in anv_CmdSetStencilOpEXT()
898 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP; in anv_CmdSetStencilOpEXT()
919 pipe_state = &cmd_buffer->state.gfx.base; in anv_cmd_buffer_bind_descriptor_set()
1043 cmd_buffer->state.gfx.dynamic.dyn_vbo_size = true; in anv_CmdBindVertexBuffers2EXT()
1045 cmd_buffer->state.gfx.dynamic.dyn_vbo_stride = true; in anv_CmdBindVertexBuffers2EXT()
1053 cmd_buffer->state.gfx.vb_dirty |= 1 << (firstBinding + i); in anv_CmdBindVertexBuffers2EXT()
1154 &cmd_buffer->state.gfx.base.push_constants; in anv_cmd_buffer_gfx_push_constants()
1234 &cmd_buffer->state.gfx.base; in anv_CmdPushConstants()
1363 pipe_state = &cmd_buffer->state.gfx.base; in anv_cmd_buffer_push_descriptor_set()
1592 if (cmd_buffer->state.gfx.dynamic.color_writes != color_writes) { in anv_CmdSetColorWriteEnableEXT()
1593 cmd_buffer->state.gfx.dynamic.color_writes = color_writes; in anv_CmdSetColorWriteEnableEXT()
1594 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_COLOR_BLEND_STATE; in anv_CmdSetColorWriteEnableEXT()
1605 cmd_buffer->state.gfx.dynamic.fragment_shading_rate = *pFragmentSize; in anv_CmdSetFragmentShadingRateKHR()
1606 cmd_buffer->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_SHADING_RATE; in anv_CmdSetFragmentShadingRateKHR()