Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,064
    • Issues 3,064
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,011
    • Merge requests 1,011
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

Update #1:

Due to abusive users subverting our CI facilities to mine cryptocurrency, breaking out of the container sandbox in the process, we have been forced to take actions to limit the usage of the public runners to official projects only.

The policy will be enforced on 2023-03-23 (or before if we detect abuses).

Please see this issue for more context and to see if and how you are impacted.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !2948

gallium: pipe_resource union for texture/buffer properties

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Pierre-Eric Pelloux-Prayer requested to merge pepp/mesa:pipe_resource_union into master Dec 03, 2019
  • Overview 7
  • Commits 1
  • Pipelines 8
  • Changes 1

This series is a proposal to fix #2053 (comment 286218)

The goal is to store a struct pipe_resource buffer size in a intptr_t to match GL API (currently mesa uses a unsigned). To do so:

  • the first commit moves buffers-only and textures-only properties to separate structs
  • the second commit stores buffer.size in a intptr_t

I only quickly tested this branch with radeonsi and llvmpipe (and compile tested a few other drivers). I'll do more testing/fixing if the approach seems correct to other developers.

Another possibility would be to only keep the 2nd commit: sizeof(struct pipe_resource) is the same in both cases (56 bytes) but the change is less massive.

Thoughts?

Edited Dec 10, 2019 by Pierre-Eric Pelloux-Prayer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pipe_resource_union