diff options
author | Ian Romanick <[email protected]> | 2012-03-22 15:09:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-07-30 15:14:34 -0700 |
commit | 9d998a2a592ed688c90b408604b9dbec26b752ff (patch) | |
tree | b2abda6114559212317f5ef0597af7b0e4fa054b /src/glsl/ir.h | |
parent | 13cb99dc73f9337358c92412aefa918c2ec16431 (diff) |
glsl: Request an Nx1 type instance in ir_quadop_vector lowering pass.
No types have 0 columns. The glsl_type::get_instance method contains
if ((rows < 1) || (rows > 4) || (columns < 1) || (columns > 4))
return error_type;
To get a vector, use columns = 1.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Olivier Galibert <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
0 files changed, 0 insertions, 0 deletions