diff options
author | Corbin Simpson <[email protected]> | 2009-02-12 16:53:06 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-12 18:09:14 -0800 |
commit | affe0311fa60489e56b854c09f713fae024a0b00 (patch) | |
tree | 2c0d4f6f9e43a8d3e8b02cf7961498d15d7cdedf /src/gallium/drivers/r300/r300_state.c | |
parent | 08e324fff3b295bfd5b176ed1242ad838c6d5f25 (diff) |
r300-gallium: Add r500 passthrough shader assembly.
This allows a simple passthrough fragment shader to be provided on r500.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 9392d723427..5fe2b8ea3ef 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -432,6 +432,11 @@ static void r300_bind_fs_state(struct pipe_context* pipe, void* shader) } } + if (!fs->translated) { + debug_printf("r300: Couldn't assemble fragment shader...\n"); + /* XXX exit here */ + } + r300->fs = fs; r300->dirty_state |= R300_NEW_FRAGMENT_SHADER; |