diff options
author | Marek Olšák <[email protected]> | 2010-01-10 02:29:02 +0100 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-01-12 18:08:58 -0800 |
commit | 99ea4c0c7e75ffe8ee960fe567f57f6d8532ab55 (patch) | |
tree | f64717fdba1c22505d73a102d75605ca3017f952 /src/gallium/drivers/r300/r300_context.h | |
parent | e279d182323f27aea2c5bf6074c5f2724f7cd812 (diff) |
r300g: add emission of texture tiling bits
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 34a759e4948..7e5de40ded8 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -179,6 +179,12 @@ struct r300_query { struct r300_query* next; }; +enum r300_buffer_tiling { + R300_BUFFER_LINEAR = 0, + R300_BUFFER_TILED, + R300_BUFFER_SQUARETILED +}; + struct r300_texture { /* Parent class */ struct pipe_texture tex; @@ -215,6 +221,9 @@ struct r300_texture { /* Registers carrying texture format data. */ struct r300_texture_state state; + + /* Buffer tiling */ + enum r300_buffer_tiling microtile, macrotile; }; struct r300_vertex_info { |