This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.List | |
import Data.Array | |
import Data.Ratio | |
-- Uncertainty | |
-- (130, 62, 486/488) | |
-- row 70, may contain errors | |
-- | Input data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; INF file generated by Monitor Asset Manager (2.60.0.972), 12/22/2015 | |
[Version] | |
Signature="$WINDOWS NT$" | |
Class=Monitor | |
ClassGUID={4d36e96e-e325-11ce-bfc1-08002be10318} | |
Provider=%MFG% | |
DriverVer=12/22/2015, 1.0.0.0 | |
;CatalogFile=YourSignedCatalogFile.cat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Graphics/Vulkan/CommandBufferBuilding.hs b/src/Graphics/Vulkan/CommandBufferBuilding.hs | |
index 0836700..aa3b3bf 100644 | |
--- a/src/Graphics/Vulkan/CommandBufferBuilding.hs | |
+++ b/src/Graphics/Vulkan/CommandBufferBuilding.hs | |
@@ -550,9 +550,9 @@ pattern VK_STENCIL_FACE_BACK_BIT = VkStencilFaceFlagBits 0x2 | |
pattern VK_STENCIL_FRONT_AND_BACK = VkStencilFaceFlagBits 0x3 | |
-- | // Union allowing specification of floating point, integer, or unsigned integer color data. Actual value selected is based on image/attachment being cleared. | |
-data VkClearColorValue = VkFloat (Vector 4 CFloat) | |
- | VkInt (Vector 4 Int32) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "AMD64") | |
set(GLSL_VALIDATOR "$ENV{VULKAN_SDK}/Bin/glslangValidator.exe") | |
else() | |
set(GLSL_VALIDATOR "$ENV{VULKAN_SDK}/Bin32/glslangValidator.exe") | |
endif() | |
file(GLOB_RECURSE GLSL_SOURCE_FILES | |
"shaders/*.frag" | |
"shaders/*.vert" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <stdio.h> | |
size_t cmpxchg16b_size = 41; | |
char cmpxchg16b_r8[] = { 0x41, 0x52, 0x41, 0x53, 0x4D, 0x8B, 0x10, 0x4D, 0x8B, 0x58, 0x08, 0x49, 0x39, 0xC2, 0x75, 0x0E, 0x49, 0x39, 0xD3, 0x75, 0x09, 0x49, 0x89, 0x18, 0x49, 0x89, 0x48, 0x08, 0xEB, 0x06, 0x4C, 0x89, 0xD0, 0x4C, 0x89, 0xDA, 0x41, 0x5B, 0x41, 0x5A, 0xC3 }; | |
char cmpxchg16b_r9[] = { 0x41, 0x52, 0x41, 0x53, 0x4D, 0x8B, 0x11, 0x4D, 0x8B, 0x59, 0x08, 0x49, 0x39, 0xC2, 0x75, 0x0E, 0x49, 0x39, 0xD3, 0x75, 0x09, 0x49, 0x89, 0x19, 0x49, 0x89, 0x49, 0x08, 0xEB, 0x06, 0x4C, 0x89, 0xD0, 0x4C, 0x89, 0xDA, 0x41, 0x5B, 0x41, 0x5A, 0xC3 }; | |
char cmpxchg16b_r11[] = { 0x41, 0x50, 0x41, 0x51, 0x4D, 0x8B, 0x03, 0x4D, 0x8B, 0x4B, 0x08, 0x49, 0x39, 0xC0, 0x75, 0x0E, 0x49, 0x39, 0xD1, 0x75, 0x09, 0x49, 0x89, 0x1B, 0x49, 0x89, 0x4B, 0x08, 0xEB, 0x06, 0x4C, 0x89, 0xC0, 0x4C, 0x89, 0xCA, 0x41, 0x59, 0x41, 0x58, 0xC3 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Vector; | |
PVector[] triangle = new PVector[3]; | |
PVector frustum_tl = new PVector(-1, -1); | |
PVector frustum_br = new PVector(1, 1); | |
final float screen_scale = 0.25; | |
void setup() { | |
size(640, 640); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ./plugins/package/am_modulator/source | |
cat <<'EOF' > "./am_modulator.dsp" | |
// Am Modulator Example written in Faust | |
import("stdfaust.lib"); | |
modulator = ((1-modDepth) + (os.osc(modFreq)*0.5 + 0.5)*modDepth); | |
modFreq = hslider("Modulator Frequency", 400, 0.1, 2000,0.01); | |
modDepth = hslider("Modulator Depth", 0.5, 0, 1,0.01); | |
process = _*modulator; | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
faust -i -a /usr/share/faust/lv2.cpp -cn test test.dsp -o /tmp/faust2lv2.J2zyk5/test.cpp | |
... | |
sed '-es?@name@?test?g' '-es?@uri@?https://faustlv2.bitbucket.io/test?g' '-es?@dllext@?.so?g' | |
... | |
g++ -shared -O3 -std=c++11 -mfpmath=sse -msse -msse2 -msse3 -ffast-math -ftree-vectorize '-DDLLEXT=".so"' -fPIC -I/home/vlsh/Sources '-DPLUGIN_URI="https://faustlv2.bitbucket.io/test"' -DFAUST_META=1 -DFAUST_MIDICC=1 -DFAUST_MTS=1 -DFAUST_UI=0 -DVOICE_CTRLS=1 /tmp/faust2lv2.J2zyk5/test.cpp -o /tmp/faust2lv2.J2zyk5/test.lv2/test.so | |
... | |
g++ -O3 -std=c++11 -mfpmath=sse -msse -msse2 -msse3 -ffast-math -ftree-vectorize '-DDLLEXT=".so"' -I/home/vlsh/Sources '-DPLUGIN_URI="https://faustlv2.bitbucket.io/test"' -DFAUST_META=1 -DFAUST_MIDICC=1 -DFAUST_MTS=1 -DFAUST_UI=0 -DVOICE_CTRLS=1 /tmp/faust2lv2.J2zyk5/test.cpp -o /tmp/faust2lv2.J2zyk5/test | |
... | |
/tmp/faust2lv2.J2zyk5/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLSNAME = am_modulator | |
$(CLSNAME).cpp:am_modulator.dsp | |
faust -i -a /usr/share/faust/lv2.cpp -cn $(CLSNAME) $< -o $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd .. | |
sed -e "s?@prefix@?AM_MODULATOR?g" -e "s?@clsname@?am_modulator?g" <<'EOF' > "./am_modulator.mk" | |
# where to find the source code - locally in this case | |
@prefix@_SITE_METHOD = local | |
@prefix@_SITE = $($(PKG)_PKGDIR)/ | |
# even though this is a local build, we still need a version number | |
# bump this number if you need to force a rebuild | |
@prefix@_VERSION = 1 | |
# dependencies (list of other buildroot packages, separated by space) | |
@prefix@_DEPENDENCIES = |
OlderNewer