Home
last modified time | relevance | path

Searched refs:ssbo_locs (Results 1 – 1 of 1) sorted by relevance

/external/virglrenderer/src/
Dvrend_renderer.c405 GLuint *ssbo_locs[PIPE_SHADER_TYPES]; member
1471 sprog->ssbo_locs[id] = calloc(util_last_bit(mask), sizeof(uint32_t)); in bind_ssbo_locs()
1476 … sprog->ssbo_locs[id][i] = glGetProgramResourceIndex(sprog->id, GL_SHADER_STORAGE_BLOCK, name); in bind_ssbo_locs()
1479 sprog->ssbo_locs[id] = NULL; in bind_ssbo_locs()
1784 free(ent->ssbo_locs[i]); in vrend_destroy_program()
4306 if (!sub_ctx->prog->ssbo_locs[shader_type]) in vrend_draw_bind_ssbo_shader()
4320 if (sub_ctx->prog->ssbo_locs[shader_type][i] != GL_INVALID_INDEX) { in vrend_draw_bind_ssbo_shader()
4322 … glShaderStorageBlockBinding(sub_ctx->prog->id, sub_ctx->prog->ssbo_locs[shader_type][i], i); in vrend_draw_bind_ssbo_shader()