mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-12-25 16:35:22 +00:00
Checkpoint some work on useLogicalIO mode for converter, and going through a BIL
conversion in the compile method. That'll change soon to consume BIL directly instead of converting it from glsl. This is disabled for the moment pending figuring out the varying output count problem. Conflicts: icd/intel/CMakeLists.txt icd/intel/compiler/shader/compiler_interface.cpp
This commit is contained in:
parent
fd45f76f57
commit
e802c1e08d
@ -584,7 +584,7 @@ void XglRenderTest::CreateDefaultPipeline(XGL_PIPELINE* pipeline, XGL_SHADER* vs
|
||||
" gl_Position = vec4(vertices[gl_VertexID % 3], 0.0, 1.0);\n"
|
||||
"}\n";
|
||||
static const char *vertShader2 =
|
||||
"#version 330\n"
|
||||
"#version 130\n"
|
||||
"out vec4 color;\n"
|
||||
"out vec4 scale;\n"
|
||||
"void main() {\n"
|
||||
@ -596,9 +596,9 @@ void XglRenderTest::CreateDefaultPipeline(XGL_PIPELINE* pipeline, XGL_SHADER* vs
|
||||
" colors[0] = vec4(1.0, 0.0, 0.0, 1.0);\n"
|
||||
" colors[1] = vec4(0.0, 1.0, 0.0, 1.0);\n"
|
||||
" colors[2] = vec4(0.0, 0.0, 1.0, 1.0);\n"
|
||||
" color = colors[int(mod(gl_VertexID, 3))];\n"
|
||||
" color = colors[gl_VertexID % 3];\n"
|
||||
" scale = vec4(1.0, 1.0, 1.0, 1.0);\n"
|
||||
" gl_Position = vec4(vertices[int(mod(gl_VertexID, 3))], 0.0, 1.0);\n"
|
||||
" gl_Position = vec4(vertices[gl_VertexID % 3], 0.0, 1.0);\n"
|
||||
"}\n";
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user