~ubuntu-branches/ubuntu/natty/mesa/natty-proposed

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/r300/compiler/radeon_opcodes.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker, Robert Hooker, Christopher James Halse Rogers
  • Date: 2010-09-14 08:55:40 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100914085540-m4fpl0hdjlfd4jgz
Tags: 7.9~git20100909-0ubuntu1
[ Robert Hooker ]
* New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413)
* New features include ATI HD5xxx series support in r600, and a vastly
  improved glsl compiler.
* Remove pre-generated .pc's, use the ones generated at build time
  instead.
* Remove all references to mesa-utils now that its no longer shipped
  with the mesa source.
* Disable the experimental ARB_fragment_shader option by default on
  i915, it exposes incomplete functionality that breaks KDE compositing
  among other things. It can be enabled via driconf still. (LP: #628930).

[ Christopher James Halse Rogers ]
* debian/patches/04_osmesa_version.diff:
  - Refresh for new upstream
* Bugs fixed in this release:
  - Fixes severe rendering corruption in Unity on radeon (LP: #628727,
    LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741).
  - Also fixes rendering in gnome-shell (LP: #578619).
  - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541).
  - Provides preliminary support for new intel chips (LP: #601052).
* debian/rules:
  - Update configure flags to match upstream reshuffling.
  - Explicitly remove gallium DRI drivers that we don't want to ship.
* Update debian/gbp.conf for this Maverick-specific packaging
* libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers
  for EGL, libegl1-mesa-drivers now contains a single driver that provides
  both backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
         * dst.x = floor(src.x), where dst must be an address register */
48
48
        RC_OPCODE_ARL,
49
49
 
 
50
        /** vec4 instruction: dst.c = ceil(src0.c) */
 
51
        RC_OPCODE_CEIL,
 
52
 
50
53
        /** vec4 instruction: dst.c = src0.c < 0.0 ? src1.c : src2.c */
51
54
        RC_OPCODE_CMP,
52
55
 
61
64
         * dst.c = d src0.c / dy */
62
65
        RC_OPCODE_DDY,
63
66
 
 
67
        /** scalar instruction: dst = src0.x*src1.x + src0.y*src1.y */
 
68
        RC_OPCODE_DP2,
 
69
 
64
70
        /** scalar instruction: dst = src0.x*src1.x + src0.y*src1.y + src0.z*src1.z */
65
71
        RC_OPCODE_DP3,
66
72
 
151
157
        /** vec4 instruction: dst.c = (src0.c != src1.c) ? 1.0 : 0.0 */
152
158
        RC_OPCODE_SNE,
153
159
 
 
160
        /** vec4 instruction: dst.c = (src0.c < 0 ?) -1 : ((src0.c > 0) : 1 : 0) */
 
161
        RC_OPCODE_SSG,
 
162
 
154
163
        /** vec4 instruction: dst.c = src0.c - src1.c */
155
164
        RC_OPCODE_SUB,
156
165
 
177
186
 
178
187
        /** branch instruction: has no effect */
179
188
        RC_OPCODE_ENDIF,
 
189
        
 
190
        RC_OPCODE_BGNLOOP,
 
191
 
 
192
        RC_OPCODE_BRK,
 
193
 
 
194
        RC_OPCODE_ENDLOOP,
 
195
 
 
196
        RC_OPCODE_CONT,
180
197
 
181
198
        /** special instruction, used in R300-R500 fragment program pair instructions
182
199
         * indicates that the result of the alpha operation shall be replicated
188
205
         * can run simultaneously. */
189
206
        RC_OPCODE_BEGIN_TEX,
190
207
 
 
208
        /** Stop execution of the shader (GLSL discard) */
 
209
        RC_OPCODE_KILP,
 
210
 
191
211
        MAX_RC_OPCODE
192
212
} rc_opcode;
193
213
 
227
247
        return &rc_opcodes[opcode];
228
248
}
229
249
 
 
250
struct rc_instruction;
 
251
 
230
252
void rc_compute_sources_for_writemask(
231
 
                const struct rc_opcode_info * opcode,
 
253
                const struct rc_instruction *inst,
232
254
                unsigned int writemask,
233
255
                unsigned int *srcmasks);
234
256