diff options
author | Michal Krol <[email protected]> | 2006-08-02 14:51:24 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-08-02 14:51:24 +0000 |
commit | b60a3da43f9a5fecf05058aa04bff12f710851f1 (patch) | |
tree | 738aca6042270f07b6e2d52a305cd8e2dce9158e /src/mesa/shader/slang/slang_assemble.c | |
parent | 1616f5b621d5f3c24dc5a21673cccb0b4143df2a (diff) |
Enable vec4 extension for x86 back-end.
Diffstat (limited to 'src/mesa/shader/slang/slang_assemble.c')
-rw-r--r-- | src/mesa/shader/slang/slang_assemble.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_assemble.c b/src/mesa/shader/slang/slang_assemble.c index 4e0395226db..9e5851383c9 100644 --- a/src/mesa/shader/slang/slang_assemble.c +++ b/src/mesa/shader/slang/slang_assemble.c @@ -652,10 +652,19 @@ static const struct { "vec4_texcube", slang_asm_vec4_texcube, slang_asm_none }, { "vec4_shad1d", slang_asm_vec4_shad1d, slang_asm_none }, { "vec4_shad2d", slang_asm_vec4_shad2d, slang_asm_none }, - /* mesa-specific extensions */ + /* GL_MESA_shader_debug */ { "float_print", slang_asm_float_deref, slang_asm_float_print }, { "int_print", slang_asm_int_deref, slang_asm_int_print }, { "bool_print", slang_asm_bool_deref, slang_asm_bool_print }, + /* vec4 */ + { "float_to_vec4", slang_asm_float_to_vec4, slang_asm_none }, + { "vec4_add", slang_asm_vec4_add, slang_asm_none }, + { "vec4_subtract", slang_asm_vec4_subtract, slang_asm_none }, + { "vec4_multiply", slang_asm_vec4_multiply, slang_asm_none }, + { "vec4_divide", slang_asm_vec4_divide, slang_asm_none }, + { "vec4_negate", slang_asm_vec4_negate, slang_asm_none }, + { "vec4_dot", slang_asm_vec4_dot, slang_asm_none }, + { NULL, slang_asm_none, slang_asm_none } }; |