freedreno: register usage queries
authorRob Clark <robdclark@gmail.com>
Mon, 25 Jun 2018 12:47:55 +0000 (08:47 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 18 Jul 2018 14:10:44 +0000 (10:10 -0400)
commit97a9283f5dbbc78d48d6b0a21fdcab991328bc0f
tree51c5720c03e4887ac49e2c3743b38afd0fd618f6
parent8dfc9e22c12ff840510d876b09d7f7163256bb17
freedreno: register usage queries

Avg number of (half) regs per draw, so we can corrolate fps dips to
shader register usage.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/a5xx/fd5_draw.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query.h
src/gallium/drivers/freedreno/freedreno_query_sw.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h