summaryrefslogtreecommitdiffstats
path: root/tests/ir
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-12-12 10:15:33 -0800
committerGitHub <noreply@github.com>2018-12-12 10:15:33 -0800
commit24c34cbeaa9d6a44caf7abba4a1a8e196002df1b (patch)
tree69daa997dfab553dba15f112ab5eb04cd9a27a27 /tests/ir
parent49ed6b60d662906f290578f802f80b0ead1a2b9d (diff)
Make shader parameters not writable (#750)
There was already logic in place to make `const` variables not be writable, and this change extends it to also consider global shader parameters (in HLSL, any global variable that is *not* marked `static` or `groupshared`) to be rvalues instead of lvalues. As noted in the comments on this change, we could lift that restriction later on, if we have good handling of global variables with resource types in the back-end, but for now it is safer to just rule this out in the front-end.
Diffstat (limited to 'tests/ir')
0 files changed, 0 insertions, 0 deletions