mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-05-14 14:06:53 +08:00
- Added Python samples for CUDA Python 1.0 release - Renamed top-level `Samples` directory to `cpp` to accommodate Python samples.
13 lines
343 B
GLSL
13 lines
343 B
GLSL
#version 450
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
#extension GL_NV_gpu_shader5 : enable
|
|
|
|
layout(location = 0) in vec3 fragColor;
|
|
layout(location = 1) in vec2 fragTexCoord;
|
|
layout(binding = 1) uniform sampler2D texSampler;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
void main() {
|
|
outColor = texture(texSampler, fragTexCoord);
|
|
} |