diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-19 13:14:59 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-19 13:14:59 -0600 |
commit | ebfdc4d7ca2929d9aa04df81d6e3122771038bff (patch) | |
tree | f0985079abcfbb57483c77f2315db5e5b368d0ea | |
parent | cc5b047a6382bd43331f7ed3cc8f67521518f0fc (diff) |
llvmpipe: frag shader comments
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 1c00c2c707..ffcc8336b1 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -134,11 +134,11 @@ shader_generate(struct llvmpipe_screen *screen, unsigned chan; type.value = 0; - type.floating = TRUE; - type.sign = TRUE; - type.norm = FALSE; - type.width = 32; - type.length = 4; + type.floating = TRUE; /* floating point values */ + type.sign = TRUE; /* values are signed */ + type.norm = FALSE; /* values are not limited to [0,1] or [-1,1] */ + type.width = 32; /* 32-bit float */ + type.length = 4; /* 4 element per vector */ elem_type = lp_build_elem_type(type); vec_type = lp_build_vec_type(type); |