Searched refs:old_enabled (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | attrib.c | 498 const GLbitfield old_enabled = unit->Enabled; in pop_enable_group() local 501 if (old_enabled == enabled && old_gen_enabled == gen_enabled) in pop_enable_group() 506 if (old_enabled != enabled) { in pop_enable_group() 507 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_1D_INDEX, GL_TEXTURE_1D); in pop_enable_group() 508 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_2D_INDEX, GL_TEXTURE_2D); in pop_enable_group() 509 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_3D_INDEX, GL_TEXTURE_3D); in pop_enable_group() 511 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_RECT_INDEX, in pop_enable_group() 514 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_CUBE_INDEX, in pop_enable_group()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 385 bool old_enabled = so->vb[start_slot + i].buffer.resource != NULL; in fd_set_vertex_buffers() local 388 if ((new_enabled != old_enabled) || (new_stride != old_stride)) { in fd_set_vertex_buffers()
|