i965/fs: Log a performance warning if skipping 16-wide due to pulls.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 4 Aug 2013 00:31:53 +0000 (17:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Aug 2013 20:12:47 +0000 (13:12 -0700)
commit53d8cff63b30326eaaafe3019d00354d4775a622
treeb4ef0e6bb5c858c48c18c832417bf3c4a077dbbb
parenta9b800aa81cffdcaef2490ff49986099feae2663
i965/fs: Log a performance warning if skipping 16-wide due to pulls.

Usually, the driver creates both 8-wide and 16-wide variants of every
fragment shader.  When 16-wide compilation fails, it logs a performance
warning explaining why only an 8-wide program exists.

However, when there are pull parameters, the driver won't even bother
trying the 16-wide compile (since it would fail).  In this case, it
failed to emit a performance warning, leaving no explanation for the
missing 16-wide program.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp