Binary that renders a triangle using Open GL, scans the resulting image to a PNG, and makes an occlusion query to determine the number of fragments shaded. To be used as reference when developing Turnip.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112
  1. #version 300 es
  2. #extension GL_EXT_separate_shader_objects : enable
  3. precision mediump float;
  4. layout(location = 0) in vec3 fragColor;
  5. layout(location = 0) out vec4 outColor;
  6. void main() {
  7. outColor = vec4(fragColor, 1.0);
  8. }