summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-07-21 14:01:14 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-07-21 14:01:14 +0000
commit067c81567bf35e04b2c9b3d360a6f15dedbfe8aa (patch)
tree1031a76ce68e6100ccade83f3b1ccc15cf2ecba5 /llvm/utils/git-svn
parentb2114caf627f38eaa7905d3ad911971206b1caa9 (diff)
downloadbcm5719-llvm-067c81567bf35e04b2c9b3d360a6f15dedbfe8aa.tar.gz
bcm5719-llvm-067c81567bf35e04b2c9b3d360a6f15dedbfe8aa.zip
R600/SI: Store constant initializer data in constant memory
This implements a solution for constant initializers suggested by Vadim Girlin, where we store the data after the shader code and then use the S_GETPC instruction to compute its address. This saves use the trouble of creating a new buffer for constant data and then having to pass the pointer to the kernel via user SGPRs or the input buffer. llvm-svn: 213530
Diffstat (limited to 'llvm/utils/git-svn')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud