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
View parrallax.frag
#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 March 6, 2021 18:42
GSoC 2018 | Vulkan-ize VirGL
View readme.md

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 January 25, 2023 04:56
GSoC 2017 | Virgl Windows Driver
View readme.md

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 \