summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-08-10 15:46:14 -0700
committerChad Versace <[email protected]>2011-08-11 09:33:41 -0700
commit9cd64ec35acd54cbe0be4d03236d2c5a9d4be6fe (patch)
tree34ebee1ac7099874ddac10c079de99ac4fe457b5 /src/mesa/x86-64
parent099aad2fb0dba8baff61dc7a6803c6c976c08069 (diff)
x86-64: Fix compile error with clang
Remove the 'f' suffix from a float literal. - .float 0.0f+1.0 + .float 1.0 This fixes the following compile error with clang: error: unexpected token in directive .float 0.0f+1.0 ^ Note: This is a candidate for the stable branches. Reviewed-by: Ben Widawsky <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/x86-64')
-rw-r--r--src/mesa/x86-64/xform4.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86-64/xform4.S b/src/mesa/x86-64/xform4.S
index 6141e434679..5abd5a25de5 100644
--- a/src/mesa/x86-64/xform4.S
+++ b/src/mesa/x86-64/xform4.S
@@ -118,7 +118,7 @@ p4_constants:
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
-.float 0f+1.0
+.float 1.0
.text
.align 16