summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-08-09 19:02:02 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:48 +0200
commiteba3c390a3c6221781ca4d9c344c6f448e177b6c (patch)
tree81c142377357992ed216b20a0046ef60f6592057 /src/getopt
parent1a747094ed0ab32541936dd18931f382901affe6 (diff)
st/nine: Avoid Constant upload when there is no change
It is very common for d3d9 apps to set again the constants they need before every draw call, even if nothing changed. Since we are mostly gpu bound, it is better to check for change, and upload constants again (and thus use gpu bandwith) only if the constants changed. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions