URL
https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 188 |
Rev 189 |
Line 508... |
Line 508... |
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
//Calculate the adress of the texure coordiantes.
|
//Calculate the adress of the texure coordiantes.
|
|
|
//TAG_TCC_UCODE_ADDRESS:
|
//TAG_TCC_UCODE_ADDRESS:
|
//Do this calculation only if this triangle is the one closest to the camera
|
//Do this calculation only if this triangle is the one closest to the camera
|
226: I = { `JGX ,`LABEL_TCC_EXIT ,`CREG_t ,`CREG_LAST_t };
|
226: I = { `NOP ,`RT_FALSE };//I = { `JGX ,`LABEL_TCC_EXIT ,`CREG_t ,`CREG_LAST_t };
|
|
|
//First get the UV coodrinates and store in R1
|
//First get the UV coodrinates and store in R1
|
//R1x: u_coordinate = U0 + last_u * (U1 - U0) + last_v * (U2 - U0)
|
//R1x: u_coordinate = U0 + last_u * (U1 - U0) + last_v * (U2 - U0)
|
//R1y: v_coordinate = V0 + last_u * (V1 - V0) + last_v * (V2 - V0)
|
//R1y: v_coordinate = V0 + last_u * (V1 - V0) + last_v * (V2 - V0)
|
//R1z: 0
|
//R1z: 0
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.