summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-07-30 10:36:23 -0400
committerRob Clark <[email protected]>2018-07-30 12:31:05 -0400
commit0ea243dcd502e18fde160179faf90639fb012288 (patch)
tree44e59cc4f8260b907f3635c73fb6424677e6a308 /src/gallium/drivers/freedreno/freedreno_context.h
parentf310e86a4200d8ecc74f9ae682386b6ecd1d09d2 (diff)
freedreno/a5xx: fix txf_ms
Somehow this got lost from the initial MSAA patch. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h
index bc7ff6193fa..a93561ef033 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.h
+++ b/src/gallium/drivers/freedreno/freedreno_context.h
@@ -52,6 +52,8 @@ struct fd_texture_stateobj {
struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS];
unsigned num_samplers;
unsigned valid_samplers;
+ /* number of samples per sampler, 2 bits per sampler: */
+ uint32_t samples;
};
struct fd_program_stateobj {