/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline.c | 64 pipeline_compute_sha1_from_nir(struct v3dv_pipeline_stage *p_stage) in pipeline_compute_sha1_from_nir() argument 67 .module = vk_shader_module_handle_from_nir(p_stage->nir), in pipeline_compute_sha1_from_nir() 68 .pName = p_stage->entrypoint, in pipeline_compute_sha1_from_nir() 69 .stage = mesa_to_vk_shader_stage(p_stage->nir->info.stage), in pipeline_compute_sha1_from_nir() 72 vk_pipeline_hash_shader_stage(&info, p_stage->shader_sha1); in pipeline_compute_sha1_from_nir() 90 struct v3dv_pipeline_stage *p_stage, in destroy_pipeline_stage() 93 if (!p_stage) in destroy_pipeline_stage() 96 ralloc_free(p_stage->nir); in destroy_pipeline_stage() 97 vk_free2(&device->vk.alloc, pAllocator, p_stage); in destroy_pipeline_stage() 1034 const struct v3dv_pipeline_stage *p_stage, in pipeline_populate_v3d_key() 89 destroy_pipeline_stage(struct v3dv_device *device, struct v3dv_pipeline_stage *p_stage, const VkAllocationCallbacks *pAllocator) destroy_pipeline_stage() argument 1033 pipeline_populate_v3d_key(struct v3d_key *key, const struct v3dv_pipeline_stage *p_stage, uint32_t ucp_enables, bool robust_buffer_access) pipeline_populate_v3d_key() argument 1140 pipeline_populate_v3d_fs_key(struct v3d_fs_key *key, const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct v3dv_pipeline_stage *p_stage, bool has_geometry_shader, uint32_t ucp_enables) pipeline_populate_v3d_fs_key() argument 1259 pipeline_populate_v3d_gs_key(struct v3d_gs_key *key, const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct v3dv_pipeline_stage *p_stage) pipeline_populate_v3d_gs_key() argument 1301 pipeline_populate_v3d_vs_key(struct v3d_vs_key *key, const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct v3dv_pipeline_stage *p_stage) pipeline_populate_v3d_vs_key() argument 1407 struct v3dv_pipeline_stage *p_stage = pipeline_stage_create_binning() local 1639 pipeline_compile_shader_variant(struct v3dv_pipeline_stage *p_stage, struct v3d_key *key, size_t key_size, const VkAllocationCallbacks *pAllocator, VkResult *out_vk_result) pipeline_compile_shader_variant() argument 1739 pipeline_lower_nir(struct v3dv_pipeline *pipeline, struct v3dv_pipeline_stage *p_stage, struct v3dv_pipeline_layout *layout) pipeline_lower_nir() argument 1788 get_ucp_enable_mask(struct v3dv_pipeline_stage *p_stage) get_ucp_enable_mask() argument 1804 pipeline_stage_get_nir(struct v3dv_pipeline_stage *p_stage, struct v3dv_pipeline *pipeline, struct v3dv_pipeline_cache *cache) pipeline_stage_get_nir() argument 1918 struct v3dv_pipeline_stage *p_stage = pipeline->vs; pipeline_compile_fragment_shader() local 2292 struct v3dv_pipeline_stage *p_stage = pipeline_add_multiview_gs() local 2367 struct v3dv_pipeline_stage *p_stage = pipeline_compile_graphics() local 2431 struct v3dv_pipeline_stage *p_stage = pipeline_compile_graphics() local 3156 struct v3dv_pipeline_stage *p_stage = pipeline_compile_compute() local [all...] |
H A D | v3dv_private.h | 2135 v3dv_get_shader_variant(struct v3dv_pipeline_stage *p_stage,
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_screen.c | 447 enum pipe_shader_type p_stage, in crocus_get_shader_param() 450 gl_shader_stage stage = stage_from_pipe(p_stage); in crocus_get_shader_param() 455 p_stage != PIPE_SHADER_VERTEX && in crocus_get_shader_param() 456 p_stage != PIPE_SHADER_FRAGMENT) in crocus_get_shader_param() 460 p_stage != PIPE_SHADER_VERTEX && in crocus_get_shader_param() 461 p_stage != PIPE_SHADER_FRAGMENT && in crocus_get_shader_param() 462 p_stage != PIPE_SHADER_GEOMETRY) in crocus_get_shader_param() 513 (p_stage == PIPE_SHADER_FRAGMENT || in crocus_get_shader_param() 514 p_stage == PIPE_SHADER_COMPUTE)) in crocus_get_shader_param() 446 crocus_get_shader_param(struct pipe_screen *pscreen, enum pipe_shader_type p_stage, enum pipe_shader_cap param) crocus_get_shader_param() argument
|
H A D | crocus_state.c | 2301 enum pipe_shader_type p_stage, in crocus_bind_sampler_states() 2306 gl_shader_stage stage = stage_from_pipe(p_stage); in crocus_bind_sampler_states() 2322 if (p_stage == PIPE_SHADER_FRAGMENT) in crocus_bind_sampler_states() 2324 else if (p_stage == PIPE_SHADER_VERTEX) in crocus_bind_sampler_states() 3050 enum pipe_shader_type p_stage, in crocus_set_shader_images() 3059 gl_shader_stage stage = stage_from_pipe(p_stage); in crocus_set_shader_images() 3148 enum pipe_shader_type p_stage, in crocus_set_sampler_views() 3155 gl_shader_stage stage = stage_from_pipe(p_stage); in crocus_set_sampler_views() 3484 enum pipe_shader_type p_stage, unsigned index, in crocus_set_constant_buffer() 3489 gl_shader_stage stage = stage_from_pipe(p_stage); in crocus_set_constant_buffer() 2300 crocus_bind_sampler_states(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, void **states) crocus_bind_sampler_states() argument 3049 crocus_set_shader_images(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, const struct pipe_image_view *p_images) crocus_set_shader_images() argument 3147 crocus_set_sampler_views(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) crocus_set_sampler_views() argument 3483 crocus_set_constant_buffer(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned index, bool take_ownership, const struct pipe_constant_buffer *input) crocus_set_constant_buffer() argument 3611 crocus_set_shader_buffers(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers, unsigned writable_bitmask) crocus_set_shader_buffers() argument 8375 enum pipe_shader_type p_stage = stage_to_pipe(s); global() local [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_execute.c | 1077 enum pipe_shader_type p_stage, in fill_sampler_stage() 1087 fill_sampler(&state->ss[p_stage][ss_idx], binding->immutable_samplers ? binding->immutable_samplers[array_idx] : descriptor->sampler); in fill_sampler_stage() 1088 if (state->num_sampler_states[p_stage] <= ss_idx) in fill_sampler_stage() 1089 state->num_sampler_states[p_stage] = ss_idx + 1; in fill_sampler_stage() 1090 state->ss_dirty[p_stage] = true; in fill_sampler_stage() 1105 enum pipe_shader_type p_stage, in fill_sampler_view_stage() 1160 assert(sv_idx < ARRAY_SIZE(state->sv[p_stage])); in fill_sampler_view_stage() 1161 if (state->sv[p_stage][sv_idx]) in fill_sampler_view_stage() 1162 pipe_sampler_view_reference(&state->sv[p_stage][sv_idx], NULL); in fill_sampler_view_stage() 1163 state->sv[p_stage][sv_id in fill_sampler_view_stage() 1074 fill_sampler_stage(struct rendering_state *state, struct dyn_info *dyn_info, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, const union lvp_descriptor_info *descriptor, const struct lvp_descriptor_set_binding_layout *binding) fill_sampler_stage() argument 1102 fill_sampler_view_stage(struct rendering_state *state, struct dyn_info *dyn_info, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, const union lvp_descriptor_info *descriptor, const struct lvp_descriptor_set_binding_layout *binding) fill_sampler_view_stage() argument 1172 fill_sampler_buffer_view_stage(struct rendering_state *state, struct dyn_info *dyn_info, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, const union lvp_descriptor_info *descriptor, const struct lvp_descriptor_set_binding_layout *binding) fill_sampler_buffer_view_stage() argument 1212 fill_image_view_stage(struct rendering_state *state, struct dyn_info *dyn_info, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, const union lvp_descriptor_info *descriptor, const struct lvp_descriptor_set_binding_layout *binding) fill_image_view_stage() argument 1257 fill_image_buffer_view_stage(struct rendering_state *state, struct dyn_info *dyn_info, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, const union lvp_descriptor_info *descriptor, const struct lvp_descriptor_set_binding_layout *binding) fill_image_buffer_view_stage() argument 1287 handle_descriptor(struct rendering_state *state, struct dyn_info *dyn_info, const struct lvp_descriptor_set_binding_layout *binding, gl_shader_stage stage, enum pipe_shader_type p_stage, int array_idx, VkDescriptorType type, const union lvp_descriptor_info *descriptor) handle_descriptor() argument 1398 handle_set_stage(struct rendering_state *state, struct dyn_info *dyn_info, const struct lvp_descriptor_set *set, gl_shader_stage stage, enum pipe_shader_type p_stage) handle_set_stage() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.c | 1388 enum pipe_shader_type p_stage, in zink_set_shader_buffers() 1398 unsigned old_writable_mask = ctx->writable_ssbos[p_stage]; in zink_set_shader_buffers() 1399 ctx->writable_ssbos[p_stage] &= ~modified_bits; in zink_set_shader_buffers() 1400 ctx->writable_ssbos[p_stage] |= writable_bitmask << start_slot; in zink_set_shader_buffers() 1403 struct pipe_shader_buffer *ssbo = &ctx->ssbos[p_stage][start_slot + i]; in zink_set_shader_buffers() 1409 unbind_ssbo(ctx, res, p_stage, i, was_writable); in zink_set_shader_buffers() 1410 new_res->ssbo_bind_mask[p_stage] |= BITFIELD_BIT(i); in zink_set_shader_buffers() 1411 new_res->ssbo_bind_count[p_stage == PIPE_SHADER_COMPUTE]++; in zink_set_shader_buffers() 1412 new_res->gfx_barrier |= zink_pipeline_flags_from_pipe_stage(p_stage); in zink_set_shader_buffers() 1413 update_res_bind_count(ctx, new_res, p_stage in zink_set_shader_buffers() 1387 zink_set_shader_buffers(struct pipe_context *pctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers, unsigned writable_bitmask) zink_set_shader_buffers() argument 1608 zink_set_shader_images(struct pipe_context *pctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, const struct pipe_image_view *images) zink_set_shader_images() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_screen.c | 454 enum pipe_shader_type p_stage, in iris_get_shader_param() 457 gl_shader_stage stage = stage_from_pipe(p_stage); in iris_get_shader_param() 453 iris_get_shader_param(struct pipe_screen *pscreen, enum pipe_shader_type p_stage, enum pipe_shader_cap param) iris_get_shader_param() argument
|
H A D | iris_state.c | 2190 enum pipe_shader_type p_stage, in iris_bind_sampler_states() 2195 gl_shader_stage stage = stage_from_pipe(p_stage); in iris_bind_sampler_states() 2852 enum pipe_shader_type p_stage, in iris_set_shader_images() 2859 gl_shader_stage stage = stage_from_pipe(p_stage); in iris_set_shader_images() 2953 iris_set_shader_images(ctx, p_stage, start_slot + count, in iris_set_shader_images() 2969 enum pipe_shader_type p_stage, in iris_set_sampler_views() 2978 gl_shader_stage stage = stage_from_pipe(p_stage); in iris_set_sampler_views() 3370 enum pipe_shader_type p_stage, unsigned index, in iris_set_constant_buffer() 3375 gl_shader_stage stage = stage_from_pipe(p_stage); in iris_set_constant_buffer() 3393 iris_set_constant_buffer(ctx, p_stage, inde in iris_set_constant_buffer() 2189 iris_bind_sampler_states(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, void **states) iris_bind_sampler_states() argument 2851 iris_set_shader_images(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, const struct pipe_image_view *p_images) iris_set_shader_images() argument 2968 iris_set_sampler_views(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start, unsigned count, unsigned unbind_num_trailing_slots, bool take_ownership, struct pipe_sampler_view **views) iris_set_sampler_views() argument 3369 iris_set_constant_buffer(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned index, bool take_ownership, const struct pipe_constant_buffer *input) iris_set_constant_buffer() argument 3530 iris_set_shader_buffers(struct pipe_context *ctx, enum pipe_shader_type p_stage, unsigned start_slot, unsigned count, const struct pipe_shader_buffer *buffers, unsigned writable_bitmask) iris_set_shader_buffers() argument 7535 enum pipe_shader_type p_stage = stage_to_pipe(s); iris_rebind_buffer() local [all...] |
H A D | iris_program.c | 2950 enum pipe_shader_type p_stage) in iris_is_parallel_shader_compilation_finished() 2948 iris_is_parallel_shader_compilation_finished(struct pipe_screen *pscreen, void *v_shader, enum pipe_shader_type p_stage) iris_is_parallel_shader_compilation_finished() argument
|