Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c97 memcmp(locations, st->state.sample_locations, size) != 0) { in update_sample_locations()
101 memcpy(st->state.sample_locations, locations, size); in update_sample_locations()
Dst_context.h228 uint8_t sample_locations[ member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c94 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[i][1] << ((i % 4) * 8 + 4); in gm200_validate_sample_locations()
Dnvc0_context.h241 uint8_t sample_locations[2 * 4 * 8]; member
Dnvc0_state.c905 if (size > sizeof(nvc0->sample_locations)) in nvc0_set_sample_locations()
906 size = sizeof(nvc0->sample_locations); in nvc0_set_sample_locations()
907 memcpy(nvc0->sample_locations, locations, size); in nvc0_set_sample_locations()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1745 uint32_t sample_locations = 0; in tu6_emit_sample_locations() local
1747 sample_locations |= in tu6_emit_sample_locations()
1754 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations()
1758 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations()
1762 tu_cs_emit(cs, sample_locations); in tu6_emit_sample_locations()
1974 const struct VkPipelineSampleLocationsStateCreateInfoEXT *sample_locations = in tu_pipeline_shader_key_init() local
1979 (sample_locations && sample_locations->sampleLocationsEnable)) { in tu_pipeline_shader_key_init()
2677 const struct VkPipelineSampleLocationsStateCreateInfoEXT *sample_locations = in tu_pipeline_builder_parse_multisample_and_color_blend() local
2681 if (sample_locations && sample_locations->sampleLocationsEnable) in tu_pipeline_builder_parse_multisample_and_color_blend()
2682 samp_loc = &sample_locations->sampleLocationsInfo; in tu_pipeline_builder_parse_multisample_and_color_blend()
/external/virglrenderer/src/
Dvrend_formats.c702 memset(caps->sample_locations, 0, 8 * sizeof(uint32_t)); in vrend_renderer_query_multisample_caps()
725 … caps->sample_locations[out_buf_offsets[i] + (k >> 2)] |= compressed << (8 * (k & 3)); in vrend_renderer_query_multisample_caps()
733 caps->sample_locations[out_buf_offsets[i] + (k >> 2)] = in vrend_renderer_query_multisample_caps()
734 … caps->sample_locations[out_buf_offsets[lowest_working_ms_count_idx] + (k >> 2)]; in vrend_renderer_query_multisample_caps()
Dvirgl_hw.h571 uint32_t sample_locations[8]; member
/external/minigbm/external/
Dvirgl_hw.h394 uint32_t sample_locations[8]; member
/external/mesa3d/src/virtio/virtio-gpu/
Dvirgl_hw.h539 uint32_t sample_locations[8]; member
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c1430 bits = vs->caps.caps.v2.sample_locations[0] >> (8 * index); in virgl_get_sample_position()
1432 bits = vs->caps.caps.v2.sample_locations[1] >> (8 * index); in virgl_get_sample_position()
1434 bits = vs->caps.caps.v2.sample_locations[2 + (index >> 2)] >> (8 * (index & 3)); in virgl_get_sample_position()
1436 bits = vs->caps.caps.v2.sample_locations[4 + (index >> 2)] >> (8 * (index & 3)); in virgl_get_sample_position()
/external/mesa3d/src/panfrost/lib/
Ddecode.c371 pandecode_find_mapped_gpu_mem_containing(params.sample_locations); in pandecode_mfbd_bifrost_deps()
373 const u16 *PANDECODE_PTR_VAR(samples, smem, params.sample_locations); in pandecode_mfbd_bifrost_deps()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_mfbd.c463 params.sample_locations = panfrost_emit_sample_locations(batch); in panfrost_mfbd_emit_bifrost_parameters()
/external/igt-gpu-tools/lib/
Dpanfrost-job.h1484 mali_ptr sample_locations; member
/external/mesa3d/src/mesa/main/
Dfbobject.c5392 sample_locations(struct gl_context *ctx, struct gl_framebuffer *fb, in sample_locations() function
5469 sample_locations(ctx, fb, start, count, v, false, in _mesa_FramebufferSampleLocationsfvARB()
5490 sample_locations(ctx, fb, start, count, v, false, in _mesa_NamedFramebufferSampleLocationsfvARB()
5499 sample_locations(ctx, get_framebuffer_target(ctx, target), start, in _mesa_FramebufferSampleLocationsfvARB_no_error()
5509 sample_locations(ctx, _mesa_lookup_framebuffer(ctx, framebuffer), start, in _mesa_NamedFramebufferSampleLocationsfvARB_no_error()
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c6322 struct radv_sample_locations_state sample_locations = {0}; in radv_barrier() local
6326 sample_locations.per_pixel = sample_locs_info->sampleLocationsPerPixel; in radv_barrier()
6327 sample_locations.grid_size = sample_locs_info->sampleLocationGridSize; in radv_barrier()
6328 sample_locations.count = sample_locs_info->sampleLocationsCount; in radv_barrier()
6329 typed_memcpy(&sample_locations.locations[0], in radv_barrier()
6342 sample_locs_info ? &sample_locations : NULL); in radv_barrier()
/external/mesa3d/docs/relnotes/
D20.1.0.rst368 - pan/decode: Restore bifrost sample_locations
632 - panfrost: Set mfbd.msaa.sample_locations on Bifrost