llvmpipe: frag shader comments

This commit is contained in:
Brian Paul 2009-08-19 13:14:59 -06:00 committed by José Fonseca
parent 0f6c621aee
commit 03b388e1c9
1 changed files with 5 additions and 5 deletions

View File

@ -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);