Home
last modified time | relevance | path

Searched refs:LUT_TABLE_HALF_SIZE (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/Cmd/FragmentLightingSimpleCmd/
Dgx_FragmentLightingSimpleCmd.cpp57 const u32 LUT_TABLE_HALF_SIZE = LUT_TABLE_SIZE / 2; variable
384 for (u32 j = 0; j < LUT_TABLE_HALF_SIZE; j++) in InitializeD0Lut()
394 for (u32 j = 0; j < (LUT_TABLE_HALF_SIZE - 1); j++) in InitializeD0Lut()
396 s_LutArray[j + LUT_TABLE_HALF_SIZE] = s_LutArray[j + 1] - s_LutArray[j]; in InitializeD0Lut()
398 s_LutArray[(LUT_TABLE_HALF_SIZE - 1) + LUT_TABLE_HALF_SIZE] = in InitializeD0Lut()
399 1.0f - s_LutArray[LUT_TABLE_HALF_SIZE - 1]; in InitializeD0Lut()
1328 for (u32 i = 0; i < LUT_TABLE_HALF_SIZE; i++) in AddLUTCommand()
1349 data, PICA_CMD_HEADER_BURST(PICA_REG_FRAG_LIGHT_LUT_DATA0, LUT_TABLE_HALF_SIZE) in AddLUTCommand()
1354 else if ( i == (LUT_TABLE_HALF_SIZE - 1) ) in AddLUTCommand()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/
Dgx_FragmentLightingSimple.cpp267 const u32 LUT_TABLE_HALF_SIZE = LUT_TABLE_SIZE / 2; in InitializeD0Lut() local
274 for (u32 j = 0; j < LUT_TABLE_HALF_SIZE; j++) in InitializeD0Lut()
284 for (u32 j = 0; j < (LUT_TABLE_HALF_SIZE - 1); j++) in InitializeD0Lut()
286 lutArray[j + LUT_TABLE_HALF_SIZE] = lutArray[j + 1] - lutArray[j]; in InitializeD0Lut()
288 lutArray[(LUT_TABLE_HALF_SIZE - 1) + LUT_TABLE_HALF_SIZE] = in InitializeD0Lut()
289 1.0f - lutArray[LUT_TABLE_HALF_SIZE - 1]; in InitializeD0Lut()