Skip to content

Instantly share code, notes, and snippets.

View dboyan's full-sized avatar

Boyan Ding dboyan

  • UCLA
  • Los Angeles, United States
View GitHub Profile
-- Logs begin at Thu 2017-02-09 20:06:40 CST, end at Thu 2017-04-20 20:59:18 CST. --
Apr 20 20:51:37 john-aspire systemd-journald[202]: Time spent on flushing to /var is 2.114ms for 0 entries.
Apr 20 20:51:38 john-aspire kernel: Linux version 4.11.0-rc7-39a0f48c8bc7 (dingbur@john-aspire) (gcc version 6.3.1 20170306 (GCC) ) #1 SMP PREEMPT Thu Apr 20 20:42:48 CST 2017
Apr 20 20:51:38 john-aspire kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-drm-next-git root=UUID=f4c09aee-3775-4e6e-a11b-6072e795d6f2 rw quiet
Apr 20 20:51:38 john-aspire kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Apr 20 20:51:38 john-aspire kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Apr 20 20:51:38 john-aspire kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Apr 20 20:51:38 john-aspire kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Apr 20 20:51:38 john-aspire kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Apr 20 20:51:38 john-aspire k
#version 450
layout(local_size_x = 64) in;
layout(binding = 0, std430) writeonly buffer resBlock {
vec3 res1;
vec3 res2;
};
shared uvec3 a;
unsigned char test_cs_spv[] = {
0x03, 0x02, 0x23, 0x07, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x08, 0x00,
0x4d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x02, 0x00,
0x01, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00,
0x47, 0x4c, 0x53, 0x4c, 0x2e, 0x73, 0x74, 0x64, 0x2e, 0x34, 0x35, 0x30,
0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x06, 0x00, 0x05, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x6d, 0x61, 0x69, 0x6e, 0x00, 0x00, 0x00, 0x00,
0x09, 0x00, 0x00, 0x00, 0x10, 0x00, 0x06, 0x00, 0x04, 0x00, 0x00, 0x00,
0x11, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#include <GL/glx.h>
#include <GLFW/glfw3.h>
#include "test_cs.h"