mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
fix swizzle-related bug 11534
This commit is contained in:
parent
c1938a60f7
commit
673d21047a
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 6.5.3
|
||||
* Version: 7.0.1
|
||||
*
|
||||
* Copyright (C) 2005-2007 Brian Paul All Rights Reserved.
|
||||
*
|
||||
|
|
@ -2328,7 +2328,8 @@ _slang_gen_field(slang_assemble_ctx * A, slang_operation *oper)
|
|||
n = _slang_gen_swizzle(n, swizzle);
|
||||
return n;
|
||||
}
|
||||
else if (ti.spec.type == SLANG_SPEC_FLOAT) {
|
||||
else if ( ti.spec.type == SLANG_SPEC_FLOAT
|
||||
|| ti.spec.type == SLANG_SPEC_INT) {
|
||||
const GLuint rows = 1;
|
||||
slang_swizzle swz;
|
||||
slang_ir_node *n;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue