Vertex shader visible framebuffer vertex shader

This preview shows page 8 - 11 out of 11 pages.

Vertex shader Visible? Framebuffer Vertex shader program Set the color at the vertex. Transform to screen coordinates. Ex: simulate ocean waves on GPU
Image of page 8

Subscribe to view the full document.

Programming the GPU User Program Geometry Processing Pixel Shader Screen Triangle_strip Vertex shader Visible? Framebuffer Vertex shader program Pixel or Fragment Shader Program Fragment = pixel + data Per-pixel functions Ex: Phong shading.
Image of page 9
GPGPUs General purpose graphics processing units. Programmed in a C-like language Funky memory model If your algorithm has good parallelism in it, you’ll get a big speedup. Need the think about the memory model.
Image of page 10

Subscribe to view the full document.

CUDA Memory Model Source: NVIDIA Shared Memory: Shared per block, ~256 threads per block, fast access, shared space for threads in a block. Registers: for a thread. Work as you might expect. Local Memory: for a thread. Works as you might expect. Global Memory: Shared global memory. Not cached anywhere. Slow access. Constant Memory: small, random access, read-only (which means it can be cached if you want to) Texture Memory: large, assumed to be accessed in order.
Image of page 11
You've reached the end of this preview.
  • Spring '08
  • Jones,M
  • Pixel shader, Graphics processing unit, vertex shader

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern