/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_graphics_state.c | 610 ms->sample_locations = NULL; in vk_multisample_state_init() 633 assert(ms->sample_locations == NULL); in vk_multisample_sample_locations_state_init() 637 ms->sample_locations = sl; in vk_multisample_sample_locations_state_init() 644 ms->sample_locations = in vk_multisample_sample_locations_state_init() 656 *dst->ms.sample_locations = *ms->sample_locations; in vk_dynamic_graphics_state_init_ms() 1426 struct vk_sample_locations_state *sl = dyn->ms.sample_locations; in vk_dynamic_graphics_state_clear() 1437 dyn->ms.sample_locations = sl; in vk_dynamic_graphics_state_clear() 1462 if (dyn->ms.sample_locations == NULL) in vk_dynamic_graphics_state_fill() 1579 assert((dst->ms.sample_locations in vk_dynamic_graphics_state_copy() [all...] |
H A D | vk_graphics_state.h | 302 const struct vk_sample_locations_state *sample_locations; member 516 * - Set ms.sample_locations to a driver-allocated 652 struct vk_sample_locations_state *sample_locations; member
|
H A D | vk_command_buffer.h | 45 const VkSampleLocationsInfoEXT *sample_locations; member
|
H A D | vk_render_pass.c | 1225 const VkSampleLocationsInfoEXT *sample_locations, in transition_image_range() 1265 .pNext = sample_locations, in transition_image_range() 1475 att_view_state->sample_locations, in transition_attachment() 1693 const VkSampleLocationsInfoEXT *sample_locations = NULL; in begin_subpass() local 1798 sample_locations = in begin_subpass() 1803 att_state->views[view].sample_locations = sample_locations; in begin_subpass() 2077 if (sample_locations) { in begin_subpass() 2078 sample_locations_tmp = *sample_locations; in begin_subpass() 2318 att_state->views[v].sample_locations in vk_common_CmdBeginRenderPass2() 1219 transition_image_range(const struct vk_image_view *image_view, VkImageSubresourceRange range, VkImageLayout old_layout, VkImageLayout new_layout, VkImageLayout old_stencil_layout, VkImageLayout new_stencil_layout, const VkSampleLocationsInfoEXT *sample_locations, uint32_t *barrier_count, uint32_t max_barrier_count, VkImageMemoryBarrier2 *barriers) transition_image_range() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_msaa.c | 97 memcmp(locations, st->state.sample_locations, size) != 0) { in update_sample_locations() 101 memcpy(st->state.sample_locations, locations, size); in update_sample_locations()
|
H A D | st_context.h | 234 uint8_t sample_locations[ member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_state_validate.c | 94 uint8_t sample_locations[16][2]; in gm200_validate_sample_locations() local 108 memcpy(locations, nvc0->sample_locations, sizeof(locations)); in gm200_validate_sample_locations() 119 sample_locations[wi][0] = locations[ri] & 0xf; in gm200_validate_sample_locations() 120 sample_locations[wi][1] = 16 - (locations[ri] >> 4); in gm200_validate_sample_locations() 126 sample_locations[i][0] = ptr[i % ms][0]; in gm200_validate_sample_locations() 127 sample_locations[i][1] = ptr[i % ms][1]; in gm200_validate_sample_locations() 145 x = sample_locations[read_index][0]; in gm200_validate_sample_locations() 146 y = sample_locations[read_index][1]; in gm200_validate_sample_locations() 154 packed_locations[i / 4] |= sample_locations[i][0] << ((i % 4) * 8); in gm200_validate_sample_locations() 155 packed_locations[i / 4] |= sample_locations[ in gm200_validate_sample_locations() [all...] |
H A D | nvc0_context.h | 241 uint8_t sample_locations[2 * 4 * 8]; member
|
H A D | nvc0_state.c | 922 if (size > sizeof(nvc0->sample_locations)) in nvc0_set_sample_locations() 923 size = sizeof(nvc0->sample_locations); in nvc0_set_sample_locations() 924 memcpy(nvc0->sample_locations, locations, size); in nvc0_set_sample_locations()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_pipeline.c | 2060 uint32_t sample_locations = 0; in tu6_emit_sample_locations() local 2062 sample_locations |= in tu6_emit_sample_locations() 2069 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations() 2073 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations() 2077 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations() 2420 const struct VkPipelineSampleLocationsStateCreateInfoEXT *sample_locations = in tu_pipeline_shader_key_init() local 2425 (sample_locations && sample_locations->sampleLocationsEnable)) { in tu_pipeline_shader_key_init() 3668 const struct VkPipelineSampleLocationsStateCreateInfoEXT *sample_locations = in tu_pipeline_builder_parse_multisample_and_color_blend() local 3672 if (sample_locations in tu_pipeline_builder_parse_multisample_and_color_blend() [all...] |
/third_party/mesa3d/src/virtio/virtio-gpu/ |
H A D | virgl_hw.h | 577 uint32_t sample_locations[8]; member
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_context.c | 1527 bits = vs->caps.caps.v2.sample_locations[0] >> (8 * index); in virgl_get_sample_position() 1529 bits = vs->caps.caps.v2.sample_locations[1] >> (8 * index); in virgl_get_sample_position() 1531 bits = vs->caps.caps.v2.sample_locations[2 + (index >> 2)] >> (8 * (index & 3)); in virgl_get_sample_position() 1533 bits = vs->caps.caps.v2.sample_locations[4 + (index >> 2)] >> (8 * (index & 3)); in virgl_get_sample_position()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | gfx7_cmd_buffer.c | 251 const struct vk_sample_locations_state *sl = dyn->ms.sample_locations; in cmd_buffer_flush_dynamic_state()
|
H A D | anv_cmd_buffer.c | 106 cmd_buffer->vk.dynamic_graphics_state.ms.sample_locations = in anv_create_cmd_buffer() 107 &cmd_buffer->state.gfx.sample_locations; in anv_create_cmd_buffer()
|
H A D | gfx8_cmd_buffer.c | 618 genX(emit_sample_pattern)(&cmd_buffer->batch, dyn->ms.sample_locations); in cmd_buffer_flush_dynamic_state()
|
H A D | anv_private.h | 2679 struct vk_sample_locations_state sample_locations; member 3119 struct vk_sample_locations_state sample_locations; member
|
H A D | anv_pipeline.c | 2078 pipeline->dynamic_state.ms.sample_locations = &pipeline->sample_locations; in anv_graphics_pipeline_init()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.h | 305 uint8_t sample_locations[2 * 4 * 8 * 16]; member
|
H A D | zink_context.c | 2186 ctx->vk_sample_locations[wi].x = (ctx->sample_locations[ri] & 0xf) / 16.0f; in zink_update_vk_sample_locations() 2187 ctx->vk_sample_locations[wi].y = (16 - (ctx->sample_locations[ri] >> 4)) / 16.0f; in zink_update_vk_sample_locations() 2985 if (size > sizeof(ctx->sample_locations)) in zink_set_sample_locations() 2986 size = sizeof(ctx->sample_locations); in zink_set_sample_locations() 2989 memcpy(ctx->sample_locations, locations, size); in zink_set_sample_locations()
|
/third_party/mesa3d/src/panfrost/lib/genxml/ |
H A D | decode.c | 269 pandecode_find_mapped_gpu_mem_containing(params.sample_locations); in pandecode_sample_locations() 271 const u16 *PANDECODE_PTR_VAR(samples, smem, params.sample_locations); in pandecode_sample_locations()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | fbobject.c | 5601 sample_locations(struct gl_context *ctx, struct gl_framebuffer *fb, in sample_locations() function 5678 sample_locations(ctx, fb, start, count, v, false, in _mesa_FramebufferSampleLocationsfvARB() 5699 sample_locations(ctx, fb, start, count, v, false, in _mesa_NamedFramebufferSampleLocationsfvARB() 5708 sample_locations(ctx, get_framebuffer_target(ctx, target), start, in _mesa_FramebufferSampleLocationsfvARB_no_error() 5718 sample_locations(ctx, _mesa_lookup_framebuffer(ctx, framebuffer), start, in _mesa_NamedFramebufferSampleLocationsfvARB_no_error()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_cs.c | 730 cfg.sample_locations = in pan_emit_fbd()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_cmd_buffer.c | 9658 struct radv_sample_locations_state sample_locations; in radv_barrier() local 9662 sample_locations.per_pixel = sample_locs_info->sampleLocationsPerPixel; in radv_barrier() 9663 sample_locations.grid_size = sample_locs_info->sampleLocationGridSize; in radv_barrier() 9664 sample_locations.count = sample_locs_info->sampleLocationsCount; in radv_barrier() 9665 typed_memcpy(&sample_locations.locations[0], sample_locs_info->pSampleLocations, in radv_barrier() 9676 &dep_info->pImageMemoryBarriers[i].subresourceRange, sample_locs_info ? &sample_locations : NULL); in radv_barrier()
|