Binary that renders a triangle using Vulkan, scans the resulting image to a PNG, and makes an occlusion query to determine the number of fragments shaded. To be used in developing Turnip.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

occlusion.frag 200B

12345678910
  1. #version 450
  2. #extension GL_ARB_separate_shader_objects : enable
  3. layout(location = 0) in vec3 fragColor;
  4. layout(location = 0) out vec4 outColor;
  5. void main() {
  6. outColor = vec4(fragColor, 1.0);
  7. }