Skip to content

Instantly share code, notes, and snippets.

@Keenuts
Keenuts / parrallax.frag
Last active April 13, 2019 16:09
Self shadow on parrallax mapping
#version 420 core
/* frame definition */
uniform mat4 u_matrix_mvp;
uniform mat4 u_matrix_m;
uniform mat4 u_matrix_v;
uniform mat4 u_matrix_p;
uniform vec3 u_camera_position;
@Keenuts
Keenuts / readme.md
Last active August 13, 2023 11:59
GSoC 2018 | Vulkan-ize VirGL

GSoC 2018 | Vulkan-ize VirGL

GSoC 2018 is coming to an end. This GIST will present you this project in its current state (August 10, 2018).

Current state

We can run a sample vulkan compute application, R/W data to/from the server, and execute a compute shader.

Project links

@Keenuts
Keenuts / readme.md
Last active July 17, 2024 08:19
GSoC 2017 | Virgl Windows Driver

GSOC 2017 | Virgl Windows Driver

Project links

The project is split into several parts:

  • The kernel driver, with simple 3D command forwarding and 3D resource allocation
  • The userland driver, in fact the OpenGL backend
  • The reference, explaining virtio-gpu commands

https://github.com/Keenuts/virtio-gpu-win-icd \