Home
last modified time | relevance | path

Searched refs:image_state (Results 1 – 12 of 12) sorted by relevance

/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp105 IMAGE_VIEW_STATE::IMAGE_VIEW_STATE(const IMAGE_STATE *image_state, VkImageView iv, const VkImageVie… in IMAGE_VIEW_STATE() argument
109 if (image_state) { in IMAGE_VIEW_STATE()
112 …sub_res_range.levelCount = ResolveRemainingLevels(&sub_res_range, image_state->createInfo.mipLevel… in IMAGE_VIEW_STATE()
113 …sub_res_range.layerCount = ResolveRemainingLayers(&sub_res_range, image_state->createInfo.arrayLay… in IMAGE_VIEW_STATE()
116 … normalized_subresource_range = NormalizeSubresourceRange(*image_state, ci->subresourceRange); in IMAGE_VIEW_STATE()
117 samples = image_state->createInfo.samples; in IMAGE_VIEW_STATE()
131 VkImageSubresourceRange NormalizeSubresourceRange(const IMAGE_STATE &image_state, const VkImageSubr… in NormalizeSubresourceRange() argument
132 const VkImageCreateInfo &image_create_info = image_state.createInfo; in NormalizeSubresourceRange()
234 auto image_state = GetImageState(image); in FindLayouts() local
235 if (!image_state) return false; in FindLayouts()
[all …]
Dcore_validation.cpp229 …d::unique_ptr<ImageSubresourceLayoutMap> LayoutMapFactoryByAspect(const IMAGE_STATE &image_state) { in LayoutMapFactoryByAspect() argument
231 switch (image_state.full_range.aspectMask) { in LayoutMapFactoryByAspect()
233 map = new ImageSubresourceLayoutMapImpl<ColorAspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
236 map = new ImageSubresourceLayoutMapImpl<DepthAspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
239 map = new ImageSubresourceLayoutMapImpl<StencilAspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
242 … map = new ImageSubresourceLayoutMapImpl<DepthStencilAspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
245 … map = new ImageSubresourceLayoutMapImpl<Multiplane2AspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
248 … map = new ImageSubresourceLayoutMapImpl<Multiplane3AspectTraits, kThreshold>(image_state); in LayoutMapFactoryByAspect()
256 static std::unique_ptr<ImageSubresourceLayoutMap> LayoutMapFactory(const IMAGE_STATE &image_state) { in LayoutMapFactory() argument
259 if (image_state.full_range.layerCount <= kAlwaysDenseLimit) { in LayoutMapFactory()
[all …]
Dbuffer_validation.h40 VkImageSubresourceRange NormalizeSubresourceRange(const IMAGE_STATE &image_state, const VkImageSubr…
Dcore_validation.h1093 …bool ValidateImageSampleCount(const IMAGE_STATE* image_state, VkSampleCountFlagBits sample_count, …
1296 void SetImageLayout(CMD_BUFFER_STATE* cb_node, const IMAGE_STATE& image_state,
1299 void SetImageLayout(CMD_BUFFER_STATE* cb_node, const IMAGE_STATE& image_state,
1305 …ferImageCopyData(uint32_t regionCount, const VkBufferImageCopy* pRegions, IMAGE_STATE* image_state,
1321 …bool ValidateImageAttributes(const IMAGE_STATE* image_state, const VkImageSubresourceRange& range)…
1329 bool VerifyClearImageLayout(const CMD_BUFFER_STATE* cb_node, const IMAGE_STATE* image_state,
1332 …bool VerifyImageLayout(const CMD_BUFFER_STATE* cb_node, const IMAGE_STATE* image_state, const VkIm…
1337 …bool VerifyImageLayout(const CMD_BUFFER_STATE* cb_node, const IMAGE_STATE* image_state, const VkIm…
1340 …return VerifyImageLayout(cb_node, image_state, range, 0, explicit_layout, optimal_layout, caller, …
1344 bool VerifyImageLayout(const CMD_BUFFER_STATE* cb_node, const IMAGE_STATE* image_state,
[all …]
Dcore_validation_types.h337 … IMAGE_VIEW_STATE(const IMAGE_STATE *image_state, VkImageView iv, const VkImageViewCreateInfo *ci);
770 ImageSubresourceLayoutMapImpl(const IMAGE_STATE &image_state)
772 image_state_(image_state),
773 mip_size_(image_state.full_range.layerCount),
774 aspect_size_(mip_size_ * image_state.full_range.levelCount),
1585 …ayoutMap *GetImageSubresourceLayoutMap(CMD_BUFFER_STATE *cb_state, const IMAGE_STATE &image_state);
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c433 &image->dynamic_state.static_state[i].image_state, in draw_llvm_image_soa_emit_op()
439 lp_build_img_op_soa(&image->dynamic_state.static_state[image_index].image_state, in draw_llvm_image_soa_emit_op()
456 &image->dynamic_state.static_state[params->texture_unit].image_state, in draw_llvm_image_soa_emit_size_query()
Ddraw_llvm.c2432 lp_sampler_static_texture_state_image(&draw_image[i].image_state, in draw_llvm_make_variant_key()
2467 debug_printf("images[%i].format = %s\n", i, util_format_name(image[i].image_state.format)); in draw_llvm_dump_variant_key()
3021 lp_sampler_static_texture_state_image(&draw_image[i].image_state, in draw_gs_llvm_make_variant_key()
3039 debug_printf("images[%i].format = %s\n", i, util_format_name(image[i].image_state.format)); in draw_gs_llvm_dump_variant_key()
3670 lp_sampler_static_texture_state_image(&draw_image[i].image_state, in draw_tcs_llvm_make_variant_key()
3688 debug_printf("images[%i].format = %s\n", i, util_format_name(image[i].image_state.format)); in draw_tcs_llvm_dump_variant_key()
4175 lp_sampler_static_texture_state_image(&draw_image[i].image_state, in draw_tes_llvm_make_variant_key()
4193 debug_printf("images[%i].format = %s\n", i, util_format_name(image[i].image_state.format)); in draw_tes_llvm_dump_variant_key()
Ddraw_llvm.h79 struct lp_static_texture_state image_state; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c486 &image->dynamic_state.static_state[i].image_state, in lp_llvm_image_soa_emit_op()
491 lp_build_img_op_soa(&image->dynamic_state.static_state[image_index].image_state, in lp_llvm_image_soa_emit_op()
510 &image->dynamic_state.static_state[params->texture_unit].image_state, in lp_llvm_image_soa_emit_size_query()
Dlp_state_fs.h64 struct lp_static_texture_state image_state; member
Dlp_state_cs.c604 lp_sampler_static_texture_state_image(&lp_image[i].image_state, in make_variant_key()
654 const struct lp_static_texture_state *image = &images[i].image_state; in dump_cs_variant_key()
Dlp_state_fs.c3418 const struct lp_static_texture_state *image = &images[i].image_state; in dump_fs_variant_key()
4145 lp_sampler_static_texture_state_image(&lp_image[i].image_state, in make_variant_key()