diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-11-24 21:43:28 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:05 +0100 |
commit | 82be7735f32776e76300de3602a72fc236b7261e (patch) | |
tree | bd3a290f90f2a7b73baadb91deb3583a3212569f /src/mesa/main/uniform_query.cpp | |
parent | 2dabff9068a86a070615df587e4e9327b1d1ca6e (diff) |
i965/formatquery: Respond queries SAMPLES and NUM_SAMPLE_COUNTS
This effectively disables old QuerySamplesForFormat driver hook, since it is
never called by Mesa anymore.
v2: Call brw_query_samples_for_format() with a dummy buffer to calculate num
samples, to avoid modifying the original buffer.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/uniform_query.cpp')
0 files changed, 0 insertions, 0 deletions