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 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Rafael Antognolli
  • mesamesa
  • Repository
Switch branch/tag
  • mesa
  • src
  • gallium
  • drivers
  • nouveau
  • nouveau_buffer.c
Find file BlameHistoryPermalink
  • Samuel Pitoiset's avatar
    nouveau: always align buffers to 0x100 · c2cb7713
    Samuel Pitoiset authored Jul 20, 2015
    
    
    Only constbufs must be aligned to 0x100, but since all buffers can be
    rebinded as constant buffers they must be also aligned.
    
    This patch prevents this behaviour by aligning everything to 256-byte
    increments at buffer creation.
    
    This fixes dmesg fails for the following piglit test:
      ext_transform_feedback-immediate-reuse-uniform-buffer -auto -fbo
    Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
    Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
    c2cb7713