summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-05-25 23:36:48 +0200
committerSamuel Pitoiset <[email protected]>2016-05-26 19:34:57 +0200
commitc52e92ec3a37c9ab3fb35132e62e1ddf6a770c27 (patch)
tree95a3c5313a2b3147e55913da302b0b5e860142f2 /bin
parent329d115ac68b40082540cf844c548e0656fbdbf9 (diff)
nvc0: allow to monitor MP perf counters with compute shaders
To read out MP perf counters we use a compute shader and need to upload input data like a 64-bits addr used to store the values and a sequence ID for synchronization. Currently, this input data is uploaded as user uniforms which means that it's sticked to c0[], but if a compute shader from a real application is used, monitoring those performance counters will just overwrite some data and miserably crash. Instead, sticking the 64-bits addr and the sequence into the driver constant buffer seems like much better and will allow to monitor counters with GL 4.3 apps. Tested on GF119 and GK110, but should not hurt anything on GK104. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions