Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c143 assert(base >= shader->push_consts.lo * 4); in lower_load_push_constant()
144 base -= shader->push_consts.lo * 4; in lower_load_push_constant()
613 tu_shader->push_consts.lo = 0; in gather_push_constants()
614 tu_shader->push_consts.dwords = 0; in gather_push_constants()
626 tu_shader->push_consts.lo = (min / 4) / 4 * 4; in gather_push_constants()
627 tu_shader->push_consts.dwords = in gather_push_constants()
628 align(max, 16) / 4 - tu_shader->push_consts.lo; in gather_push_constants()
829 uint32_t reserved_consts_vec4 = align(shader->push_consts.dwords, 16) / 4; in tu_shader_create()
832 assert(!shader->push_consts.dwords); in tu_shader_create()
Dtu_pipeline.h71 struct tu_push_constant_range push_consts[MESA_SHADER_STAGES]; member
94 struct tu_push_constant_range push_consts; member
Dtu_shader.h25 struct tu_push_constant_range push_consts; member
Dtu_pipeline.c2721 blob_write_bytes(blob, shaders->push_consts, sizeof(shaders->push_consts)); in tu_shaders_serialize()
2749 blob_copy_bytes(blob, shaders->push_consts, sizeof(shaders->push_consts)); in tu_shaders_deserialize()
2986 compiled_shaders->push_consts[stage] = shaders[stage]->push_consts; in tu_pipeline_builder_compile_shaders()
3210 struct tu_push_constant_range *push_consts, in tu_pipeline_set_linkage() argument
3215 link->push_consts = *push_consts; in tu_pipeline_set_linkage()
3258 &builder->shaders->push_consts[i], in tu_pipeline_builder_parse_shader_stages()
4159 compiled->push_consts[MESA_SHADER_COMPUTE] = shader->push_consts; in tu_compute_pipeline_create()
4189 &compiled->push_consts[MESA_SHADER_COMPUTE], v); in tu_compute_pipeline_create()
Dtu_cmd_buffer.c4113 if (link->push_consts.dwords > 0) { in tu6_user_consts_size()
4114 unsigned num_units = link->push_consts.dwords; in tu6_user_consts_size()
4130 if (link->push_consts.dwords > 0) { in tu6_emit_user_consts()
4131 unsigned num_units = link->push_consts.dwords; in tu6_emit_user_consts()
4132 unsigned offset = link->push_consts.lo; in tu6_emit_user_consts()
4218 assert(!link->push_consts.dwords); in tu6_emit_consts()
/third_party/ffmpeg/libavfilter/
Dvulkan.c323 pl->push_consts = av_realloc_array(pl->push_consts, sizeof(*pl->push_consts), in ff_vk_add_push_constant()
325 if (!pl->push_consts) in ff_vk_add_push_constant()
328 pc = &pl->push_consts[pl->push_consts_num++]; in ff_vk_add_push_constant()
1232 .pPushConstantRanges = pl->push_consts, in ff_vk_init_pipeline_layout()
1237 av_freep(&pl->push_consts); in ff_vk_init_pipeline_layout()
1401 av_freep(&pl->push_consts); in free_pipeline()
Dvulkan.h104 VkPushConstantRange *push_consts; member
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst1253 - turnip: shared_consts and push_consts are mutually exclusive