On Fri, Aug 15, 2014 at 5:12 PM, Connor Abbott <cwabbo...@gmail.com> wrote: > This flag was set to true for the atomic counter intrinsics, but it > never got plumbed through the linker, so by the time it got to the > backends it would always be set to the false. The current i965 backend > code doesn't use is_intrinsic, so this should not change any existing > code, but it's useful for codepaths that want to distinguish between > intrinsics and non-intrinsics without using strcmp. > > Signed-off-by: Connor Abbott <connor.abb...@intel.com> > --- > src/glsl/link_functions.cpp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/glsl/link_functions.cpp b/src/glsl/link_functions.cpp > index 2ce9609..36695ce 100644 > --- a/src/glsl/link_functions.cpp > +++ b/src/glsl/link_functions.cpp > @@ -154,6 +154,8 @@ public: > > linked_sig->replace_parameters(&formal_parameters); > > + linked_sig->is_intrinsic = sig->is_intrinsic; > + > if (sig->is_defined) { > foreach_in_list(const ir_instruction, original, &sig->body) { > ir_instruction *copy = original->clone(linked, ht); > -- > 1.9.3
R-b and committed. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev