diff options
author | Marek Olšák <[email protected]> | 2011-02-10 02:11:38 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-10 02:11:38 +0100 |
commit | fc9170d0cf1c7a7dcd580e9da17742a6ab68bd1b (patch) | |
tree | c4dcd4fc4ddef0c83467805146cfcbea9ab8d85c /src/gallium/drivers/r300/r300_context.h | |
parent | 2314a2f45ff29823413d12e93a325f361b46fdd7 (diff) |
r300g: use format from pipe_surface instead of pipe_resource
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 1737dafc6ac..316af64e6de 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -188,11 +188,6 @@ struct r300_sampler_view { uint32_t texcache_region; }; -struct r300_texture_fb_state { - uint32_t pitch[R300_MAX_TEXTURE_LEVELS]; /* COLORPITCH or DEPTHPITCH. */ - uint32_t format; /* US_OUT_FMT or R300_ZB_FORMAT */ -}; - struct r300_texture_sampler_state { struct r300_texture_format_state format; uint32_t filter0; /* R300_TX_FILTER0: 0x4400 */ @@ -405,8 +400,6 @@ struct r300_texture { /* Registers carrying texture format data. */ /* Only format-independent bits should be filled in. */ struct r300_texture_format_state tx_format; - /* All bits should be filled in. */ - struct r300_texture_fb_state fb_state; /* hyper-z memory allocs */ struct mem_block *hiz_mem[R300_MAX_TEXTURE_LEVELS]; |