radeong: Provide drm_api::destroy hook.
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi-instruction-set.txt
index 802ec3711896b557ed9b2cc5c523bd38134ff213..080fd4c7310dc53647aaf6d837ba40706ee97527 100644 (file)
@@ -187,11 +187,7 @@ TGSI Instruction Specification
 
 1.2.6  CND0 - Condition Zero
 
-  dst.x = (src2.x >= 0.0) ? src0.x : src1.x
-  dst.y = (src2.y >= 0.0) ? src0.y : src1.y
-  dst.z = (src2.z >= 0.0) ? src0.z : src1.z
-  dst.w = (src2.w >= 0.0) ? src0.w : src1.w
-
+       Removed.  Use (CMP src2, src1, src0) instead.
 
 1.2.7  DOT2ADD - 2-component Dot Product And Add
 
@@ -1031,12 +1027,12 @@ TGSI Instruction Specification
 
 1.18.1  EXPP - Approximate Exponential Base 2
 
-  Alias for EXP.
+  Use EXP. See also 1.19.3.
 
 
 1.18.2  LOGP - Logarithm Base 2
 
-  Alias for LG2.
+  Use LOG. See also 1.19.4.
 
 
 1.19  vs_2_0
@@ -1053,6 +1049,16 @@ TGSI Instruction Specification
   Alias for ARR.
 
 
+1.19.3  EXPP - Approximate Exponential Base 2
+
+  Use EX2.
+
+
+1.19.4  LOGP - Logarithm Base 2
+
+  Use LG2.
+
+
 2  Explanation of symbols used
 ==============================
 
@@ -1123,3 +1129,35 @@ TGSI Instruction Specification
 
   target            Label of target instruction.
 
+
+3  Other tokens
+===============
+
+
+3.1  Declaration Semantic
+-------------------------
+
+
+  Follows Declaration token if Semantic bit is set.
+
+  Since its purpose is to link a shader with other stages of the pipeline,
+  it is valid to follow only those Declaration tokens that declare a register
+  either in INPUT or OUTPUT file.
+
+  SemanticName field contains the semantic name of the register being declared.
+  There is no default value.
+
+  SemanticIndex is an optional subscript that can be used to distinguish
+  different register declarations with the same semantic name. The default value
+  is 0.
+
+  The meanings of the individual semantic names are explained in the following
+  sections.
+
+
+3.1.1  FACE
+
+  Valid only in a fragment shader INPUT declaration.
+
+  FACE.x is negative when the primitive is back facing. FACE.x is positive
+  when the primitive is front facing.