r600g: remove an assertion causing a crash at context cleanup
authorMarek Olšák <marek.olsak@amd.com>
Fri, 4 Oct 2013 17:58:57 +0000 (19:58 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Oct 2013 18:01:51 +0000 (20:01 +0200)
Compute samplers are advertised, but not implemented.
I think that's intentional.

src/gallium/drivers/r600/r600_state_common.c

index f91aa27f0f9a64f718f0893f420a3817ed28bb63..482eb44a070ca9724177360f2765615a41f4065c 100644 (file)
@@ -396,7 +396,6 @@ static void r600_bind_sampler_states(struct pipe_context *pipe,
 
        if (shader != PIPE_SHADER_VERTEX &&
            shader != PIPE_SHADER_FRAGMENT) {
-               assert(!"Only vertex/fragment sampler are implemented.");
                return;
        }