diff options
author | Matt Turner <[email protected]> | 2013-01-21 14:12:37 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-01-25 14:10:23 -0800 |
commit | b64b174b0a7a309dd924d6dace126b0a80e9ea76 (patch) | |
tree | 011a801c8c8f803ab1dcac6acec60a2a96249e9e /src/glsl/ir.h | |
parent | b0239ce9600c5484c3e424fea23b28e13d11a891 (diff) |
glsl: Extend ir_expression_operation for ARB_shading_language_packing
For each function {pack,unpack}{Snorm,Unorm}4x8, add a corresponding
opcode to enum ir_expression_operation. Validate the new opcodes in
ir_validate.cpp.
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index cb96a200aa9..efd80dad894 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1009,10 +1009,14 @@ enum ir_expression_operation { */ /*@{*/ ir_unop_pack_snorm_2x16, + ir_unop_pack_snorm_4x8, ir_unop_pack_unorm_2x16, + ir_unop_pack_unorm_4x8, ir_unop_pack_half_2x16, ir_unop_unpack_snorm_2x16, + ir_unop_unpack_snorm_4x8, ir_unop_unpack_unorm_2x16, + ir_unop_unpack_unorm_4x8, ir_unop_unpack_half_2x16, /*@}*/ |