i965: Make INTEL_DEBUG=shader_time use the RAW surface format.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Feb 2013 07:26:36 +0000 (23:26 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 Mar 2013 19:30:40 +0000 (12:30 -0700)
commit91df4d746bd50b328b9f4b55126c95c046087a4d
tree8af6ee6d1cb076ff04266fb55ee944802fdf8807
parent125b34cffbd377a3b27967b37767692796542250
i965: Make INTEL_DEBUG=shader_time use the RAW surface format.

Untyped Atomic Operation messages are illegal for non-RAW formats.  The
IVB hardware proceeds happily (after all, who cares what the format of the
surface is if you're doing untyped ops on it?), but later hardware
apparently doesn't.  The simulator for gen7 does complain, though.

v2: Rebase against updates to previous patches. (by anholt)

NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c