From b60a3da43f9a5fecf05058aa04bff12f710851f1 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 2 Aug 2006 14:51:24 +0000 Subject: Enable vec4 extension for x86 back-end. --- src/mesa/shader/slang/slang_assemble.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/mesa/shader/slang/slang_assemble.c') 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 } }; -- cgit v1.2.3