OpenCores
URL https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk

Subversion Repositories theia_gpu

[/] [theia_gpu/] [trunk/] [examples/] [shaders/] [example1/] [Example3.shdr] - Rev 95

Go to most recent revision | Compare with Previous | Blame | View Log

ENTRYPOINT_ADRR_USERCONSTANTS:

       SETX C1 32'h06666   //0.2
       SETY C1 32'h1CCCC   //0.9
       RETURN RT_TRUE

ENTRYPOINT_ADRR_PIXELSHADER:
       MAG  R1 CREG_TEXTURE_COLOR
       JLX  BLACK R1 C1
       JGEY BLACK R1 C1  
WHITE:
       SETX OREG_PIXEL_COLOR 32'h20000
       SWIZZLE3D OREG_PIXEL_COLOR SWIZZLE_XXX
       RETURN RT_TRUE
BLACK:
       ZERO OREG_PIXEL_COLOR VOID VOID
       RETURN  RT_TRUE       


Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.