glsl: fix indentation in emit_inline_matrix_constructor
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -1469,8 +1469,8 @@ emit_inline_matrix_constructor(const glsl_type *type,
|
|||||||
/* If the source matrix is smaller, pre-initialize the relavent parts of
|
/* If the source matrix is smaller, pre-initialize the relavent parts of
|
||||||
* the destination matrix to the identity matrix.
|
* the destination matrix to the identity matrix.
|
||||||
*/
|
*/
|
||||||
if ((src_matrix->type->matrix_columns < var->type->matrix_columns)
|
if ((src_matrix->type->matrix_columns < var->type->matrix_columns) ||
|
||||||
|| (src_matrix->type->vector_elements < var->type->vector_elements)) {
|
(src_matrix->type->vector_elements < var->type->vector_elements)) {
|
||||||
|
|
||||||
/* If the source matrix has fewer rows, every column of the destination
|
/* If the source matrix has fewer rows, every column of the destination
|
||||||
* must be initialized. Otherwise only the columns in the destination
|
* must be initialized. Otherwise only the columns in the destination
|
||||||
|
Reference in New Issue
Block a user