summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-12-03 12:34:10 -0500
committerRob Clark <robdclark@gmail.com>2016-12-06 18:01:31 -0500
commitc1e9cca6965cb0b7dcb6fa14b08f42e98b25b322 (patch)
treec21c7a8c9d66f404d1bc540fbb354930cbea85fa /src/gallium/drivers/freedreno/freedreno_screen.h
parent8f4da2ff63edc814d9d84a4f667cc68549cc3511 (diff)
freedreno: pitch alignment should match gmem alignment
Deal w/ differing gmem tile size alignment between generations, and make sure texture pitch matches. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h
index 6a7b2a80f50..8319539e9a9 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.h
+++ b/src/gallium/drivers/freedreno/freedreno_screen.h
@@ -64,7 +64,7 @@ struct fd_screen {
uint32_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */
uint32_t max_freq;
uint32_t max_rts; /* max # of render targets */
- uint32_t gmem_alignment;
+ uint32_t gmem_alignw, gmem_alignh;
bool has_timestamp;
void *compiler; /* currently unused for a2xx */