Lines Matching refs:pShader
103 static void SetFontTexture(DEMOGfxShader* pShader, FontData_t* pFont);
108 static void InitFontTexture(DEMOGfxShader* pShader, FontData_t* pFont);
109 static void InitShader(DEMOGfxShader* pShader);
503 static void InitFontTexture(DEMOGfxShader* pShader, FontData_t* pFont) in InitFontTexture() argument
537 static void SetFontTexture(DEMOGfxShader* pShader, FontData_t* pFont) in SetFontTexture() argument
540 GX2SetPixelTexture(&pFont->TexData, pShader->samplersPS.location[0]); in SetFontTexture()
545 static void InitShader(DEMOGfxShader* pShader) in InitShader() argument
554 DEMOGfxLoadShaders(pShader, 0, gshBuf); in InitShader()
556 GX2RSetBufferName(&pShader->pVertexShader->shaderProgram, "demoFont VS"); in InitShader()
557 GX2RSetBufferName(&pShader->pPixelShader->shaderProgram, "demoFont PS"); in InitShader()
563 DEMOGfxGetVertexShaderUniformLocation(pShader, "u_BasePosition"); in InitShader()
564 DEMOGfxGetVertexShaderUniformLocation(pShader, "u_Scale"); in InitShader()
565 DEMOGfxGetPixelShaderUniformLocation(pShader, "u_Color"); in InitShader()
566 DEMOGfxGetPixelShaderSamplerLocation(pShader, "u_CharTex"); in InitShader()
569 DEMOGfxInitFetchShader(pShader); in InitShader()