mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Fix formatting & cmake
This commit is contained in:
parent
ca89909c00
commit
1ac3a474da
4 changed files with 8 additions and 5 deletions
|
@ -247,7 +247,7 @@ void GPU::drawArrays() {
|
|||
shaderUnit.vs.run();
|
||||
}
|
||||
|
||||
PicaVertex &out=vertices[i];
|
||||
PicaVertex& out = vertices[i];
|
||||
// Map shader outputs to fixed function properties
|
||||
const u32 totalShaderOutputs = regs[PICA::InternalRegs::ShaderOutputCount] & 7;
|
||||
for (int i = 0; i < totalShaderOutputs; i++) {
|
||||
|
|
|
@ -189,10 +189,12 @@ const char* fragmentShader = R"(
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
void calcLighting(out vec4 primary_color, out vec4 secondary_color){
|
||||
primary_color = vec4(vec3(0.0),1.0);
|
||||
secondary_color = vec4(vec3(0.0),1.0);
|
||||
primary_color = vec4(vec3(0.5) ,1.0);
|
||||
secondary_color = vec4(vec3(0.5) ,1.0);
|
||||
}
|
||||
|
||||
void main() {
|
||||
vec2 tex2UV = (u_textureConfig & (1u << 13)) != 0u ? v_texcoord1 : v_texcoord2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue