Lines Matching defs:info

342    if (screen->info.have_EXT_non_seamless_cube_map && !state->seamless_cube_map)
389 -screen->info.props.limits.maxSamplerLodBias,
390 screen->info.props.limits.maxSamplerLodBias);
407 if (!screen->info.border_color_feats.customBorderColorWithoutFormat &&
408 screen->info.driver_props.driverID != VK_DRIVER_ID_MESA_TURNIP) {
412 if (screen->info.have_EXT_custom_border_color &&
413 (screen->info.border_color_feats.customBorderColorWithoutFormat || state->border_color_format)) {
414 if (!screen->info.have_EXT_border_color_swizzle) {
435 cbci.format = screen->info.border_color_feats.customBorderColorWithoutFormat ? VK_FORMAT_UNDEFINED : zink_get_format(screen, state->border_color_format);
441 assert(check <= screen->info.border_color_props.maxCustomBorderColorSamplers);
476 if (!screen->info.have_EXT_non_seamless_cube_map)
545 bool have_null_descriptors = screen->info.rb2_feats.nullDescriptor;
552 assert(ctx->di.ubos[shader][slot].range <= screen->info.props.limits.maxUniformBufferRange);
571 bool have_null_descriptors = screen->info.rb2_feats.nullDescriptor;
590 bool have_null_descriptors = screen->info.rb2_feats.nullDescriptor;
639 bool have_null_descriptors = screen->info.rb2_feats.nullDescriptor;
715 if (screen->info.have_EXT_non_seamless_cube_map)
734 if (!screen->info.have_EXT_non_seamless_cube_map)
803 uint64_t clamp = blocksize * screen->info.props.limits.maxTexelBufferElements;
960 if (!screen->info.have_EXT_non_seamless_cube_map && viewtype_is_cube(&sampler_view->image_view->ivci)) {
1019 assert(zink_screen(ctx->screen)->info.props.limits.standardSampleLocations);
1126 const bool have_input_state = zink_screen(pctx->screen)->info.have_EXT_vertex_input_dynamic_state;
1127 const bool need_state_change = !zink_screen(pctx->screen)->info.have_EXT_extended_dynamic_state &&
1295 screen->info.props.limits.minUniformBufferOffsetAlignment,
1580 if (!screen->info.have_EXT_image_2d_view_of_3d ||
1581 !screen->info.view2d_feats.image2DViewOf3D) {
1815 if (!screen->info.have_EXT_non_seamless_cube_map)
1897 if (likely(zink_screen(ctx->base.screen)->info.rb2_feats.nullDescriptor)) {
2123 if (zink_screen(ctx->base.screen)->info.dynamic_state2_feats.extendedDynamicState2PatchControlPoints)
2135 !ctx->gfx_stages[PIPE_SHADER_FRAGMENT]->nir->info.fs.uses_fbfetch_output) {
2141 ctx->di.fbfetch.imageView = zink_screen(ctx->base.screen)->info.rb2_feats.nullDescriptor ?
2198 struct zink_rendering_info *info;
2200 info = (void*)he->key;
2201 return info->id;
2203 info = ralloc(ctx, struct zink_rendering_info);
2204 memcpy(info, &ctx->gfx_pipeline_state.rendering_info, sizeof(VkPipelineRenderingCreateInfo));
2205 info->id = ctx->rendering_state_cache.entries;
2206 he->key = info;
2207 return info->id;
2230 ctx->gfx_pipeline_state.rendering_formats[i] = surf ? surf->info.format[0] : VK_FORMAT_R8G8B8A8_UNORM;
2234 unsigned prev_width = ctx->dynamic_fb.info.renderArea.extent.width;
2235 unsigned prev_height = ctx->dynamic_fb.info.renderArea.extent.height;
2236 ctx->dynamic_fb.info.renderArea.extent.width = MIN2(ctx->dynamic_fb.info.renderArea.extent.width, width);
2237 ctx->dynamic_fb.info.renderArea.extent.height = MIN2(ctx->dynamic_fb.info.renderArea.extent.height, height);
2238 changed_size |= ctx->dynamic_fb.info.renderArea.extent.width != prev_width;
2239 changed_size |= ctx->dynamic_fb.info.renderArea.extent.height != prev_height;
2242 /* unset depth and stencil info: reset below */
2243 VkImageLayout zlayout = ctx->dynamic_fb.info.pDepthAttachment ? ctx->dynamic_fb.info.pDepthAttachment->imageLayout : VK_IMAGE_LAYOUT_UNDEFINED;
2244 VkImageLayout slayout = ctx->dynamic_fb.info.pStencilAttachment ? ctx->dynamic_fb.info.pStencilAttachment->imageLayout : VK_IMAGE_LAYOUT_UNDEFINED;
2245 ctx->dynamic_fb.info.pDepthAttachment = NULL;
2247 ctx->dynamic_fb.info.pStencilAttachment = NULL;
2265 ctx->dynamic_fb.info.pDepthAttachment = &ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS];
2266 ctx->gfx_pipeline_state.rendering_info.depthAttachmentFormat = surf->info.format[0];
2267 /* stencil info only set for clears below */
2271 ctx->dynamic_fb.info.pStencilAttachment = &ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS + 1];
2272 ctx->gfx_pipeline_state.rendering_info.stencilAttachmentFormat = surf->info.format[0];
2275 ctx->dynamic_fb.info.pDepthAttachment = NULL;
2278 if (zlayout != (ctx->dynamic_fb.info.pDepthAttachment ? ctx->dynamic_fb.info.pDepthAttachment->imageLayout : VK_IMAGE_LAYOUT_UNDEFINED))
2280 if (slayout != (ctx->dynamic_fb.info.pStencilAttachment ? ctx->dynamic_fb.info.pStencilAttachment->imageLayout : VK_IMAGE_LAYOUT_UNDEFINED))
2304 /* base zs clear info */
2330 assert(!ctx->dynamic_fb.info.pDepthAttachment || ctx->gfx_pipeline_state.rendering_info.depthAttachmentFormat);
2331 assert(!ctx->dynamic_fb.info.pStencilAttachment || ctx->gfx_pipeline_state.rendering_info.stencilAttachmentFormat);
2336 /* update pipeline info id for compatibility VUs */
2361 VKCTX(CmdBeginRendering)(ctx->batch.state->cmdbuf, &ctx->dynamic_fb.info);
2386 if (!zink_screen(ctx->base.screen)->info.have_KHR_dynamic_rendering || ctx->transient_attachments || ctx->fbfetch_outputs)
2473 const VkPipelineRenderingCreateInfo *info = key;
2482 hash = XXH32(&info->colorAttachmentCount, sizeof(uint32_t), hash);
2483 hash = XXH32(&info->depthAttachmentFormat, sizeof(uint32_t), hash);
2484 hash = XXH32(&info->stencilAttachmentFormat, sizeof(VkFormat), hash);
2485 return XXH32(info->pColorAttachmentFormats, sizeof(VkFormat) * info->colorAttachmentCount, hash);
2671 const unsigned max_att = MIN2(PIPE_MAX_COLOR_BUFS, screen->info.props.limits.maxColorAttachments);
2674 if (screen->info.have_EXT_extended_dynamic_state && ctx->dsa_state)
2707 if (zink_screen(ctx->base.screen)->info.have_EXT_transform_feedback && ctx->num_so_targets)
2721 if (zink_screen(ctx->base.screen)->info.dynamic_state2_feats.extendedDynamicState2PatchControlPoints)
2816 (ctx->dynamic_fb.info.layerCount != layers ||
2858 ctx->dynamic_fb.info.renderArea.offset.x = 0;
2859 ctx->dynamic_fb.info.renderArea.offset.y = 0;
2860 ctx->dynamic_fb.info.renderArea.extent.width = state->width;
2861 ctx->dynamic_fb.info.renderArea.extent.height = state->height;
2862 ctx->dynamic_fb.info.colorAttachmentCount = ctx->fb_state.nr_cbufs;
2863 ctx->rp_changed |= ctx->dynamic_fb.info.layerCount != layers;
2864 ctx->dynamic_fb.info.layerCount = layers;
2877 if (zink_csurface(psurf)->info.layerCount > layers)
2885 if (!zink_screen(ctx->base.screen)->info.have_KHR_swapchain_mutable_format &&
2912 if (zink_csurface(psurf)->info.layerCount > layers)
3543 if (zink_screen(ctx->base.screen)->info.have_KHR_synchronization2) {
4431 ctx->gfx_pipeline_state.uses_dynamic_stride = screen->info.have_EXT_extended_dynamic_state ||
4432 screen->info.have_EXT_vertex_input_dynamic_state;
4518 ctx->gfx_pipeline_state.have_EXT_extended_dynamic_state = screen->info.have_EXT_extended_dynamic_state;
4519 ctx->gfx_pipeline_state.have_EXT_extended_dynamic_state2 = screen->info.have_EXT_extended_dynamic_state2;
4520 ctx->gfx_pipeline_state.extendedDynamicState2PatchControlPoints = screen->info.dynamic_state2_feats.extendedDynamicState2PatchControlPoints;
4549 ctx->dynamic_fb.info.pColorAttachments = ctx->dynamic_fb.attachments;
4550 ctx->dynamic_fb.info.sType = VK_STRUCTURE_TYPE_RENDERING_INFO;
4571 if (!(screen->info.props.limits.framebufferDepthSampleCounts & BITFIELD_BIT(i)))
4630 if (!screen->info.rb2_feats.nullDescriptor)
4643 if (screen->info.dynamic_state2_feats.extendedDynamicState2PatchControlPoints)