diff options
author | Michal Krol <mjkrol@gmail.org> | 2005-04-15 10:19:27 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2005-04-15 10:19:27 +0000 |
commit | 35725a92be64ecb2b5fd7ced66b585b496e50a54 (patch) | |
tree | 719cfad2c047c9b38632382cdf1c51b4e34955e1 /src/mesa/shader/slang/library/slang_core_gc.h | |
parent | d8aa5ffed5986587e5b93ca802c79d28be68aa8d (diff) |
change __asm statement semantics
Diffstat (limited to 'src/mesa/shader/slang/library/slang_core_gc.h')
-rw-r--r-- | src/mesa/shader/slang/library/slang_core_gc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/shader/slang/library/slang_core_gc.h b/src/mesa/shader/slang/library/slang_core_gc.h index 9dd3a89342..3b1475a115 100644 --- a/src/mesa/shader/slang/library/slang_core_gc.h +++ b/src/mesa/shader/slang/library/slang_core_gc.h @@ -435,7 +435,7 @@ "\n" "\n" "void __operator += (inout float a, const float b) {\n" -" __asm float_add a, b;\n" +" __asm float_add a, a, b;\n" "}\n" "\n" "void __operator -= (inout float a, const float b) {\n" @@ -443,11 +443,11 @@ "}\n" "\n" "void __operator *= (inout float a, const float b) {\n" -" __asm float_multiply a, b;\n" +" __asm float_multiply a, a, b;\n" "}\n" "\n" "void __operator /= (inout float a, const float b) {\n" -" __asm float_divide a, b;\n" +" __asm float_divide a, a, b;\n" "}\n" "\n" "void __operator += (inout int x, const int y) {\n" @@ -1309,8 +1309,8 @@ "\n" "\n" "float __operator - (const float a) {\n" -" float c = a;\n" -" __asm float_negate c;\n" +" float c;\n" +" __asm float_negate c, a;\n" " return c;\n" "}\n" "\n" |