diff options
author | Eric Anholt <[email protected]> | 2014-08-19 09:40:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-22 10:16:57 -0700 |
commit | 3a1efcc7f9f99d42cda191ded1eb78140366c708 (patch) | |
tree | facf7091502e68b2da35810513efbcea765c4916 /src/gallium/drivers/vc4/vc4_screen.c | |
parent | 1b6dcaf40c639d7933e83fecfdf28dbe84175ac6 (diff) |
vc4: Add support for texture tiling.
This still treats everything as RGBA8888 for the most part, same as
before. This is a prerequisite for handling other texture formats, since
only RGBA8888 has a raster-layout mode.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index feff50c4b05..0c62b446b4e 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -302,7 +302,7 @@ vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, return 0; } -uint8_t +static uint8_t vc4_get_texture_format(enum pipe_format format) { switch (format) { |