diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-31 18:39:17 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-31 19:11:08 +0100 |
commit | 492093d04b1486dd34aafe2f109a77ddeb836f18 (patch) | |
tree | c6e9f1958e920a886089649d11175026188fa73f /src/sna/sna_render.h | |
parent | 6a5ed88f9fab654c9c11c566b841d42150d26c5d (diff) |
sna: Generate shaders for SNB+ 8-pixel dispatch
Not ideal yet, sampling an alpha-only surface using SIMD8 only seems to
ever return 0...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.h')
-rw-r--r-- | src/sna/sna_render.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_render.h b/src/sna/sna_render.h index 011b1b78..943c248b 100644 --- a/src/sna/sna_render.h +++ b/src/sna/sna_render.h @@ -482,11 +482,11 @@ uint32_t sna_static_stream_offsetof(struct sna_static_stream *stream, void *ptr); unsigned sna_static_stream_compile_sf(struct sna *sna, struct sna_static_stream *stream, - void (*compile)(struct brw_compile *)); + bool (*compile)(struct brw_compile *)); unsigned sna_static_stream_compile_wm(struct sna *sna, struct sna_static_stream *stream, - void (*compile)(struct brw_compile *, int), + bool (*compile)(struct brw_compile *, int), int width); struct kgem_bo *sna_static_stream_fini(struct sna *sna, struct sna_static_stream *stream); |