Same story as with the NIR counterpart in the previous commit.
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22620>
if (type->is_array())
slots->tokens[1] = a;
- slots->swizzle = element->swizzle;
slots++;
}
}
*/
struct ir_state_slot {
gl_state_index16 tokens[STATE_LENGTH];
- int swizzle;
};
mode->data.how_declared = ir_var_hidden;
mode->allocate_state_slots(1);
ir_state_slot *slot0 = &mode->get_state_slots()[0];
- slot0->swizzle = SWIZZLE_XXXX;
slot0->tokens[0] = STATE_ADVANCED_BLENDING_MODE;
for (int i = 1; i < STATE_LENGTH; i++)
slot0->tokens[i] = 0;