Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Neo-Zhixing's full-sized avatar

Zhixing Zhang Neo-Zhixing

View GitHub Profile
@Neo-Zhixing
Neo-Zhixing / main.rs
Created May 31, 2023 02:05
AMD Descriptor Pool alignment behavior for inline uniform block
use ash::vk;
fn main() {
unsafe {
run();
}
}
/// Vulkan specification says that the size of the inline uniform block must be multiples of 4.
/// However, AMD seems to allocate this with 8 byte alignment.
@Neo-Zhixing
Neo-Zhixing / esvo.glsl
Last active May 19, 2021 05:04
Efficient Sparse Voxel Octrees
#version 460
#extension GL_EXT_shader_16bit_storage : require
#extension GL_EXT_shader_8bit_storage : require
struct Node {
uint16_t occupancy_freemask;
uint16_t _padding2;
uint children;
uint16_t data[8];
};
@Neo-Zhixing
Neo-Zhixing / parselevel.py
Created June 20, 2020 20:46
Cytoid ParseLevel
import os
import sys
import tempfile
import json
import zipfile
import hashlib
from cerberus import Validator
from flask import jsonify, make_response, abort as flask_abort
from google.cloud import storage
@Neo-Zhixing
Neo-Zhixing / readme.md
Last active February 24, 2019 18:23
HackIllinois HTMLHint

Mission

HTMLHint: The static code analysis tool for your HTML to improve the code review and refinement process.

What HTMLHint does

HTMLHint analyzes your HTML code based on specific rules, that the user can customise if needed. HTMLHint works on both the command line as well as with extensions that enable the analysis tools directly on IDEs. HTMLHint now also includes a loader for Webpack to make HTMLHint a universal developer tool.

Our Contributions

The foundations of HTMLHint were set up and this hackathon brought the project more life with improvements to legacy code and additions to features. This included migrating from the legacy functionality in ES5 to ES6. Additionally, the project was enhanced to move from Grunt to implementing Webpack that enables support for many more possibilities for this code analysis tool as a universal tool that can be implemented in more IDEs.