Lines Matching defs:states
1344 uint64_t states = RADV_DYNAMIC_ALL;
1346 /* Disable dynamic states that are useless to mesh shading. */
1351 states &= ~(RADV_DYNAMIC_VERTEX_INPUT | RADV_DYNAMIC_VERTEX_INPUT_BINDING_STRIDE |
1356 * dynamic states, since they are all rasterization related only,
1368 states &= ~RADV_DYNAMIC_DEPTH_BIAS;
1372 states &= ~RADV_DYNAMIC_DEPTH_BOUNDS;
1376 states &= ~(RADV_DYNAMIC_STENCIL_COMPARE_MASK | RADV_DYNAMIC_STENCIL_WRITE_MASK |
1380 states &= ~RADV_DYNAMIC_DISCARD_RECTANGLE;
1383 states &= ~RADV_DYNAMIC_SAMPLE_LOCATIONS;
1386 states &= ~RADV_DYNAMIC_LINE_STIPPLE;
1389 states &= ~RADV_DYNAMIC_FRAGMENT_SHADING_RATE;
1392 states &= ~RADV_DYNAMIC_BLEND_CONSTANTS;
1395 states &= ~RADV_DYNAMIC_COLOR_WRITE_ENABLE;
1397 return states;
1967 uint64_t states = needed_states;
1972 states &= ~pipeline->dynamic_states;
1978 if (states & RADV_DYNAMIC_VIEWPORT) {
1988 if (states & RADV_DYNAMIC_SCISSOR) {
1993 if (states & RADV_DYNAMIC_LINE_WIDTH) {
1997 if (states & RADV_DYNAMIC_DEPTH_BIAS) {
2009 if (states & RADV_DYNAMIC_BLEND_CONSTANTS) {
2013 if (states & RADV_DYNAMIC_CULL_MODE) {
2017 if (states & RADV_DYNAMIC_FRONT_FACE) {
2021 if (states & RADV_DYNAMIC_PRIMITIVE_TOPOLOGY) {
2026 * pDepthStencilState. The Vulkan spec states that pDepthStencilState may
2038 if (states & RADV_DYNAMIC_DEPTH_BOUNDS) {
2043 if (states & RADV_DYNAMIC_STENCIL_COMPARE_MASK) {
2048 if (states & RADV_DYNAMIC_STENCIL_WRITE_MASK) {
2053 if (states & RADV_DYNAMIC_STENCIL_REFERENCE) {
2058 if (states & RADV_DYNAMIC_DEPTH_TEST_ENABLE) {
2062 if (states & RADV_DYNAMIC_DEPTH_WRITE_ENABLE) {
2066 if (states & RADV_DYNAMIC_DEPTH_COMPARE_OP) {
2070 if (states & RADV_DYNAMIC_DEPTH_BOUNDS_TEST_ENABLE) {
2074 if (states & RADV_DYNAMIC_STENCIL_TEST_ENABLE) {
2078 if (states & RADV_DYNAMIC_STENCIL_OP) {
2093 if (states & RADV_DYNAMIC_DISCARD_RECTANGLE) {
2113 if (!(states & RADV_DYNAMIC_VERTEX_INPUT_BINDING_STRIDE) ||
2114 !(states & RADV_DYNAMIC_VERTEX_INPUT))
2117 if (states & RADV_DYNAMIC_FRAGMENT_SHADING_RATE) {
2123 if (states & RADV_DYNAMIC_DEPTH_BIAS_ENABLE) {
2127 if (states & RADV_DYNAMIC_PRIMITIVE_RESTART_ENABLE) {
2131 if (states & RADV_DYNAMIC_RASTERIZER_DISCARD_ENABLE) {
2135 if (radv_pipeline_has_color_attachments(&info->ri) && states & RADV_DYNAMIC_LOGIC_OP) {
2143 if (states & RADV_DYNAMIC_COLOR_WRITE_ENABLE) {
2147 pipeline->dynamic_state.mask = states;
5474 /* The context states are affected by the scissor bug. */
6871 /* According to the CB spec states, CB_SHADER_MASK should be set to enable writes to all four
6924 /* Mark all states declared dynamic at pipeline creation. */