summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_device_info.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-06-22 11:09:27 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-06-24 16:33:32 -0700
commit9f261dc18dba0aa4dc43fc560d343ba9ffd486e9 (patch)
treeed077edd2def4603bdb93e88fe468231f5f59f41 /src/mesa/drivers/dri/i965/brw_device_info.c
parentb2c6ba0c4b21391dc35018e1c8c4f7f7d8952bea (diff)
downloadexternal_mesa3d-9f261dc18dba0aa4dc43fc560d343ba9ffd486e9.zip
external_mesa3d-9f261dc18dba0aa4dc43fc560d343ba9ffd486e9.tar.gz
external_mesa3d-9f261dc18dba0aa4dc43fc560d343ba9ffd486e9.tar.bz2
radeon: Advertise correct GL_QUERY_COUNTER_BITS/GL_SAMPLES_PASSED value
Commit b765119c changed the default value of all the counter bits to 64. However, older hardware only has 32 counter bits. This has only been build-tested. We don't have any tests that verify the advertised value against implementation behavior, so I don't know what additional testing could be done. NOTE: It appears that many Gallium drivers (at least r300 and i915g) have the same problem, but I don't see a way for the state-tracker to determine the counter size. Marek says, "For Gallium, a new PIPE_CAP or new get_xxx_param function will be needed." Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_device_info.c')
0 files changed, 0 insertions, 0 deletions