[Mesa-dev] [PATCH] R600: Fix segfault in R600TextureIntrinsicReplacer

2013-08-21 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com This pass was segfaulting when it ran into a non-intrinsic function call. Function calls are not supported, so now instead of segfaulting, we will get an assertion failure with a nice error message. I'm not sure how to test this using lit. ---

Re: [Mesa-dev] [PATCH] R600: Fix segfault in R600TextureIntrinsicReplacer

2013-08-21 Thread Aaron Watry
I'm not sure about the lit test, but this definitely made it much more obvious to me what was failing in my VP8 decoder on R600 in OpenCL. Old: Stack dump: 0.Running pass 'Function Pass Manager' on module 'radeon'. 1.Running pass 'R600 Texture Intrinsics Replacer' on function