[Mesa-dev] [PATCH 0/9] Implement cubemaps

Alyssa Rosenzweig alyssa at rosenzweig.io
Fri Mar 29 01:53:38 UTC 2019


This series implements support for decoding cubemaps in the command
streams and disassembly cubemap instructions in shaders. It then
implements support for generating these respective cube maps in the
command stream and emitting the corresponding instructions in the
shader.

Additionally, the last patch in the series implements some simple
support for the remaining formats required in ES2.

After this series, we are at 36/36 passing in:

        dEQP-GLES2.functional.texture.format.*

Alyssa Rosenzweig (9):
  panfrost/midgard: Disassemble `cube` texture op
  panfrost/midgard: Add L/S op for writing cubemap coordinates
  panfrost: Preliminary work for cubemaps
  panfrost/decode: Decode all cubemap faces
  panfrost: Include all cubemap faces in bitmap list
  panfrost/midgard: Emit cubemap coordinates
  panfrost: Implement command stream for linear cubemaps
  panfrost: Extend tiling for cubemaps
  panfrost: Implement missing texture formats

 .../drivers/panfrost/midgard/disassemble.c    |  1 +
 .../drivers/panfrost/midgard/helpers.h        |  7 +++-
 .../drivers/panfrost/midgard/midgard.h        |  9 +++++
 .../panfrost/midgard/midgard_compile.c        | 30 +++++++++++++--
 src/gallium/drivers/panfrost/pan_context.c    | 19 ++++++----
 src/gallium/drivers/panfrost/pan_format.c     | 12 ++++++
 src/gallium/drivers/panfrost/pan_resource.c   | 38 ++++++++++---------
 src/gallium/drivers/panfrost/pan_resource.h   |  5 ++-
 src/gallium/drivers/panfrost/pan_screen.c     |  6 ++-
 .../drivers/panfrost/pandecode/decode.c       |  8 +++-
 10 files changed, 103 insertions(+), 32 deletions(-)

-- 
2.20.1



More information about the mesa-dev mailing list