diff options
author | Vladimir Dergachev <[email protected]> | 2005-02-03 16:01:46 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-02-03 16:01:46 +0000 |
commit | d26e464b6ab391be93f7c7cef8193f6e1567e0cf (patch) | |
tree | 5f8d47dd380ab5aa8cfb91af8104cd4c22260e83 | |
parent | 4c56261075500d7434e24fb47bf5b1a0196b2b11 (diff) |
Looks like we need at least one instruction for pixel shader.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fixed_pipelines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fixed_pipelines.h b/src/mesa/drivers/dri/r300/r300_fixed_pipelines.h index e10318f954d..73b410f965e 100644 --- a/src/mesa/drivers/dri/r300/r300_fixed_pipelines.h +++ b/src/mesa/drivers/dri/r300/r300_fixed_pipelines.h @@ -99,6 +99,11 @@ static struct r300_pixel_shader_state FLAT_COLOR_PIXEL_SHADER={ }, alu: { length: 0, + /* My understanding is that we need at least 1 instructions for pixel shader, + in particular because alu_end==0 means there is one instruction */ + inst: { + PFS_NOP + } }, node: { { 0, 0, 0, 0}, |