intel: Emit 3DSTATE_VF_STATISTICS dynamically
Pipeline statistics queries should not count BLORP's rectangles. (23) How do operations like Clear, TexSubImage, etc. affect the results of the newly introduced queries? DISCUSSION: Implementations might require "helper" rendering commands be issued to implement certain operations like Clear, TexSubImage, etc. RESOLVED: They don't. Only application submitted rendering commands should have an effect on the results of the queries. Piglit's arb_pipeline_statistics_query-vert_adj exposes this bug when the driver is hacked to always perform glBufferData via a GPU staging copy (for debugging purposes). Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
@@ -127,6 +127,7 @@ enum iris_param_domain {
|
||||
#define IRIS_DIRTY_VF_TOPOLOGY (1ull << 54)
|
||||
#define IRIS_DIRTY_RENDER_RESOLVES_AND_FLUSHES (1ull << 55)
|
||||
#define IRIS_DIRTY_COMPUTE_RESOLVES_AND_FLUSHES (1ull << 56)
|
||||
#define IRIS_DIRTY_VF_STATISTICS (1ull << 57)
|
||||
|
||||
#define IRIS_ALL_DIRTY_FOR_COMPUTE (IRIS_DIRTY_CS | \
|
||||
IRIS_DIRTY_SAMPLER_STATES_CS | \
|
||||
|
Reference in New Issue
Block a user