Rune Petersen wrote:

looks like a NOP ( it basically does reg0<-reg0*1+0.0 ).

with some more testing I found:
- FLAT_COLOR_PIXEL_SHADER needs 2 NOP when resizing window->full screen to avoid corruption. Can you add these NOPs only when resizing? =)


- SINGLE_TEXTURE_VERTEX_SHADER needs 1 NOP to get q3a to work for me.
  else get a blank screen. The game runs fine I just can't see anything.
  The NOP might be needed for the initial setup.

It could be that the hardware "consumes" instructions in fixed-size groups. It may need instuctions that use results from previous instructions to be in different groups. In other words, it may be somewhat VLIW in nature. Would that explain the need for some of these funky nops?



------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to