i965/fs: Un-hardcode DEBUG_WM, "FS", and "fragment".
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Feb 2015 01:43:07 +0000 (17:43 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Feb 2015 23:15:45 +0000 (15:15 -0800)
commit2bd139e18c941e7ea0870ba43314a5c10fd5bb12
tree8ff4f3d6c55aaec651116d921b24cde522447427
parent7e35a812643982bef5d90f4998a4f240b2edfd26
i965/fs: Un-hardcode DEBUG_WM, "FS", and "fragment".

These code paths can (or will) be used for other shader stages.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp