summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-05 01:22:45 +0200
committerMarek Olšák <[email protected]>2017-06-07 18:46:21 +0200
commite003e3c4c058e69e3dcaee3d31493b27ffc0052c (patch)
treeb97ceee6eeec167bb94f24149fbf8a53cae243d0 /src/mesa/state_tracker/st_context.h
parentf34abf77e90355739038d0bab0d80b54eb4e5246 (diff)
st/mesa: don't keep framebuffer state in st_context
Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 520cd8d4623..631c3aee0ac 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -139,7 +139,10 @@ struct st_context
void *ptr;
unsigned size;
} constants[PIPE_SHADER_TYPES];
- struct pipe_framebuffer_state framebuffer;
+ unsigned fb_width;
+ unsigned fb_height;
+ unsigned fb_num_samples;
+ unsigned fb_num_layers;
struct pipe_scissor_state scissor[PIPE_MAX_VIEWPORTS];
struct pipe_viewport_state viewport[PIPE_MAX_VIEWPORTS];
struct {