Searched refs:ZINK_SHADER_COUNT (Results 1 – 11 of 11) sorted by relevance
39 #ifndef ZINK_SHADER_COUNT40 #define ZINK_SHADER_COUNT (PIPE_SHADER_TYPES - 1) macro52 #define ZINK_MAX_DESCRIPTORS_PER_TYPE (32 * ZINK_SHADER_COUNT)89 bool exists[ZINK_SHADER_COUNT];90 uint32_t state[ZINK_SHADER_COUNT];116 …struct zink_descriptor_state gfx_descriptor_states[ZINK_SHADER_COUNT]; // keep incremental hashes …126 bool gfx_push_valid[ZINK_SHADER_COUNT];127 uint32_t gfx_push_state[ZINK_SHADER_COUNT];
101 struct nir_shader *nir[ZINK_SHADER_COUNT];103 struct zink_shader_module *modules[ZINK_SHADER_COUNT]; // compute stage doesn't belong here107 struct list_head shader_cache[ZINK_SHADER_COUNT][2]; //normal, inline uniforms108 unsigned inlined_variant_count[ZINK_SHADER_COUNT];110 struct zink_shader *shaders[ZINK_SHADER_COUNT];205 struct zink_shader *stages[ZINK_SHADER_COUNT],
168 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in desc_state_equal()184 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in desc_state_hash()488 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) in create_gfx_layout()491 bindings[ZINK_SHADER_COUNT].binding = ZINK_FBFETCH_BINDING; in create_gfx_layout()492 bindings[ZINK_SHADER_COUNT].descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in create_gfx_layout()493 bindings[ZINK_SHADER_COUNT].descriptorCount = 1; in create_gfx_layout()494 bindings[ZINK_SHADER_COUNT].stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in create_gfx_layout()495 bindings[ZINK_SHADER_COUNT].pImmutableSamplers = NULL; in create_gfx_layout()721 for (unsigned i = 1; i < ZINK_SHADER_COUNT; i++) in populate_zds_key()732 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in populate_zds_key()[all …]
287 assign_io(struct zink_gfx_program *prog, struct zink_shader *stages[ZINK_SHADER_COUNT]) in assign_io() argument292 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) in assign_io()297 for (unsigned j = i + 1; j < ZINK_SHADER_COUNT; i++, j++) { in assign_io()314 struct zink_shader *stages[ZINK_SHADER_COUNT], in zink_create_gfx_program() argument324 for (int i = 0; i < ZINK_SHADER_COUNT; ++i) { in zink_create_gfx_program()358 for (int i = 0; i < ZINK_SHADER_COUNT; ++i) { in zink_create_gfx_program()540 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in zink_program_num_bindings_typed()563 for (int i = 0; i < ZINK_SHADER_COUNT; ++i) { in zink_destroy_gfx_program()
28 #define ZINK_SHADER_COUNT (PIPE_SHADER_TYPES - 1) macro229 struct zink_shader *gfx_stages[ZINK_SHADER_COUNT];248 unsigned shader_stages : ZINK_SHADER_COUNT; /* mask of bound gfx shader stages */
159 unsigned num_shaders = pg->is_compute ? 1 : ZINK_SHADER_COUNT; in zink_descriptor_program_init_lazy()269 wd_count[0] = pg->is_compute ? 1 : (ZINK_SHADER_COUNT + !!ctx->dd->has_fbfetch); in zink_descriptor_program_init_lazy()370 sizes[0].descriptorCount = ZINK_SHADER_COUNT * MAX_LAZY_DESCRIPTORS; in create_push_pool()717 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in zink_descriptors_init_lazy()722 … VkDescriptorUpdateTemplateEntry *entry = &dd_lazy(ctx)->push_entries[ZINK_SHADER_COUNT]; //fbfetch in zink_descriptors_init_lazy()
257 VkPipelineShaderStageCreateInfo shader_stages[ZINK_SHADER_COUNT]; in zink_create_gfx_pipeline()259 for (int i = 0; i < ZINK_SHADER_COUNT; ++i) { in zink_create_gfx_pipeline()
343 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in find_pipeline_bits()1048 return !memcmp(a, b, sizeof(void*) * ZINK_SHADER_COUNT); in equals_gfx_program()
1510 assert(pstage < ZINK_SHADER_COUNT); in zink_shader_free()
1243 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) { in update_binds_for_samplerviews()2412 for (unsigned i = 0; i < ZINK_SHADER_COUNT; i++) in zink_update_descriptor_refs()
3728 - zink: use ZINK_SHADER_COUNT instead of PIPE_SHADER_TYPES - 1 everywhere