conversations listlengths 3 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Add point size to vertex struct to allow drawing with points rather than building them from triangles\n"
},
{
"from": "human",
"value": "//\n// engineShaders.metal\n// low_poly_engine\n//\n// Created by DEV on 8/18/17.\n// Copyright 漏 2017 DEV. All rights reserv... | metal | chosen |
[
{
"from": "system",
"value": "Fix the multiplication order in example shader for Metal\n"
},
{
"from": "human",
"value": "#include <metal_stdlib>\n#include <simd/simd.h>\n\nusing namespace metal;\n\nstruct __attribute__((__aligned__(256))) MyShaderConstants {\n matrix_float4x4 Model;\n mat... | metal | chosen |
[
{
"from": "system",
"value": "Use sampler in shader example\n"
},
{
"from": "human",
"value": "#include <metal_stdlib>\n#include <simd/simd.h>\n\nusing namespace metal;\n\nstruct __attribute__((__aligned__(256))) MyShaderConstants {\n matrix_float4x4 Model;\n matrix_float4x4 ViewProjection... | metal | chosen |
[
{
"from": "system",
"value": "Fix ambiguous call to clamp() in solid line shader for Metal\n"
},
{
"from": "human",
"value": "#include <metal_stdlib>\nusing namespace metal;\n\nstruct VertexOut {\n\tfloat4 colour;\n\tfloat vertPos;\n\tfloat width;\n\tfloat2 worldPos;\n\tfloat4 position [[ positi... | metal | chosen |
README.md exists but content is empty.
- Downloads last month
- 5