OSDN Git Service

nir/spirv/glsl450: Add an 'nb' shortcut variable.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Dec 2015 05:09:19 +0000 (21:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Dec 2015 23:27:03 +0000 (15:27 -0800)
commit9c9edd1ce8325b0b80f49661fdb1ada384bbfe0b
tree00d77b10a9b361bb91c1c9a3c42329416e6919f0
parent5f04a61219fadf8e4e99fe1254674c6b3258a28a
nir/spirv/glsl450: Add an 'nb' shortcut variable.

"nb" is shorter and more convenient than "&b->nb", especially
when several operations are composed together into a larger expression
tree.
src/glsl/nir/spirv/vtn_glsl450.c