Re: [Mesa-dev] [PATCH] st/mesa: emit saturates in the vertex shader if Shader Model 3.0 is supported

2013-02-04 Thread Jose Fonseca
Sounds good to me. It matches the SM3 semantics http://msdn.microsoft.com/en-us/library/windows/desktop/bb172934(v=vs.85).aspx It may expose driver bugs on handling saturate, but such bugs should be fixed regardless. Jose - Original Message - v2: change the requirement from GLSL

[Mesa-dev] [PATCH] st/mesa: emit saturates in the vertex shader if Shader Model 3.0 is supported

2013-02-03 Thread Marek Olšák
v2: change the requirement from GLSL 1.30 to SM 3.0 (R500 can do this) --- src/mesa/state_tracker/st_context.c|1 + src/mesa/state_tracker/st_context.h|1 + src/mesa/state_tracker/st_extensions.c |1 + src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 22

Re: [Mesa-dev] [PATCH] st/mesa: emit saturates in the vertex shader if Shader Model 3.0 is supported

2013-02-03 Thread Marek Olšák
Please disregard this patch. Marek On Sun, Feb 3, 2013 at 6:25 PM, Marek Olšák mar...@gmail.com wrote: v2: change the requirement from GLSL 1.30 to SM 3.0 (R500 can do this) --- src/mesa/state_tracker/st_context.c|1 + src/mesa/state_tracker/st_context.h|1 +

[Mesa-dev] [PATCH] st/mesa: emit saturates in the vertex shader if Shader Model 3.0 is supported

2013-02-03 Thread Marek Olšák
v2: change the requirement from GLSL 1.30 to SM 3.0 (R500 can do this) --- I'd like to know if people are okay with this. src/mesa/state_tracker/st_context.c|1 + src/mesa/state_tracker/st_context.h|1 + src/mesa/state_tracker/st_glsl_to_tgsi.cpp |7 --- 3 files