mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 10:21:21 +00:00
gl: Intel GPU shader fix
This commit is contained in:
parent
675c9a7945
commit
b8928d230a
@ -223,11 +223,11 @@ namespace glsl
|
||||
"#define VTX_FMT_UINT8 6\n\n";
|
||||
|
||||
// For intel GPUs which cannot access vectors in indexed mode (driver bug? or glsl version too low?)
|
||||
// Note: Tested on Mesa iris with HD 530 and compilant path works fine, may be a bug on Windows proprietary drivers
|
||||
// Note: Tested on Mesa iris with HD 530 and compliant path works fine, may be a bug on Windows proprietary drivers
|
||||
if (!glsl4_compliant)
|
||||
{
|
||||
OS <<
|
||||
"void mov(inout vec4 vector, const in int index, const in float scalar)\n"
|
||||
"void mov(inout uvec4 vector, const in int index, const in uint scalar)\n"
|
||||
"{\n"
|
||||
" switch(index)\n"
|
||||
" {\n"
|
||||
|
@ -2340,7 +2340,7 @@ public:
|
||||
error_msg = buf.get();
|
||||
}
|
||||
|
||||
rsx_log.fatal("Compilation failed: %s", error_msg);
|
||||
rsx_log.fatal("Compilation failed: %s\nsource: %s", error_msg, source);
|
||||
}
|
||||
|
||||
m_compiled_fence.create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user