Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,762
    • Issues 2,762
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 922
    • Merge requests 922
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !3362

intel: Implement Gen12 workaround for array textures of size 1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lionel Landwerlin requested to merge llandwerlin/mesa:review/gen12-workarounds into master Jan 13, 2020
  • Overview 24
  • Commits 1
  • Pipelines 24
  • Changes 6

Gen12 does not support RENDER_SURFACE_STATE::SurfaceArray = true && RENDER_SURFACE_STATE::Depth = 0. SurfaceArray can only be set to true if Depth >= 1.

We workaround this limitation by adding the max(value, 1) snippet in the shaders on the 3 components for texture array sizes.

Tested on Gen9 with the following Vulkan CTS tests : dEQP-VK.image.image_size.2d_array.*

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: review/gen12-workarounds