feature/imgui-sdl
points-test
|
Last change
on this file since e09ad38 was 4befb76, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago |
|
Create a bash script for compiling shaders to SPIR-V files
|
-
Property mode
set to
100644
|
|
File size:
199 bytes
|
| Line | |
|---|
| 1 | #version 450
|
|---|
| 2 | #extension GL_ARB_separate_shader_objects : enable
|
|---|
| 3 |
|
|---|
| 4 | layout(location = 0) in vec3 fragColor;
|
|---|
| 5 |
|
|---|
| 6 | layout(location = 0) out vec4 outColor;
|
|---|
| 7 |
|
|---|
| 8 | void main() {
|
|---|
| 9 | outColor = vec4(fragColor, 1.0);
|
|---|
| 10 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.