Home
last modified time | relevance | path

Searched refs:m_variable (Results 1 - 17 of 17) sorted by relevance

/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgStatement.cpp248 : m_variable (DE_NULL) in DeclarationStatement()
269 m_variable = variable; in DeclarationStatement()
275 switch (m_variable->getStorage()) in DeclarationStatement()
302 bool isConst = m_variable->getStorage() == Variable::STORAGE_CONST; in DeclarationStatement()
334 m_variable->tokenizeDeclaration(state, str); in tokenize()
350 execCtx.getValue(m_variable) = m_expression->getValue().value(); in execute()
536 : m_variable (variable) in AssignStatement()
542 : m_variable (variable) in AssignStatement()
557 str << Token(m_variable->getName()) << Token::EQUAL; in tokenize()
565 assignMasked(execCtx.getValue(m_variable), m_valueExp in execute()
[all...]
H A DrsgShader.hpp70 const Variable* getVariable (void) const { return m_variable; } in getVariable()
71 ConstValueRangeAccess getValueRange (void) const { return ConstValueRangeAccess(m_variable->getType(), &m_min[0], &m_max[0]); } in getValueRange()
72 ValueRangeAccess getValueRange (void) { return ValueRangeAccess(m_variable->getType(), &m_min[0], &m_max[0]); } in getValueRange()
75 const Variable* m_variable; member in rsg::ShaderInput
H A DrsgVariableValue.hpp348 VariableValue (const Variable* variable) : m_variable(variable), m_storage(m_variable->getType()) {} in VariableValue()
351 const Variable* getVariable (void) const { return m_variable; } in getVariable()
352 ValueAccess getValue (void) { return m_storage.getValue(m_variable->getType()); } in getValue()
353 ConstValueAccess getValue (void) const { return m_storage.getValue(m_variable->getType()); } in getValue()
359 const VariableType& getType (void) const { return m_variable->getType(); } in getType()
361 const Variable* m_variable; member in rsg::VariableValue
H A DrsgVariableValue.cpp270 : m_variable(other.m_variable) in VariableValue()
271 , m_storage(other.m_variable->getType()) in VariableValue()
278 m_variable = other.m_variable; in operator =()
H A DrsgExpression.hpp74 void tokenize (GeneratorState& state, TokenStream& str) const { DE_UNREF(state); str << Token(m_variable->getName()); } in tokenize()
81 VariableAccess (void) : m_variable(DE_NULL) {} in VariableAccess()
83 const Variable* m_variable; member in rsg::VariableAccess
H A DrsgStatement.hpp84 const Variable* m_variable; member in rsg::DeclarationStatement
149 const Variable* m_variable; member in rsg::AssignStatement
H A DrsgExpression.cpp1122 m_variable = allocateNewVariable(state, newVarRange.asAccess()); in VariableRead()
1127 m_variable = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(filter), state.getVariableManager().getEnd(filter))->getVariable(); in VariableRead()
1141 m_variable = allocateNewVariable(state, valueRange); in VariableRead()
1158 m_variable = entry->getVariable(); in VariableRead()
1161 ValueRange intersection(m_variable->getType()); in VariableRead()
1163 state.getVariableManager().setValue(m_variable, intersection.asAccess()); in VariableRead()
1170 m_variable = variable; in VariableRead()
1204 m_variable = state.getVariableManager().allocate(valueRange.getType()); in VariableWrite()
1212 m_variable = entry->getVariable(); in VariableWrite()
1215 DE_ASSERT(m_variable); in VariableWrite()
[all...]
H A DrsgVariableManager.cpp96 : m_variable (variable) in ValueEntry()
179 : m_variable(variable) in CompareEntryVariable()
185 return entry->getVariable() == m_variable; in operator ==()
189 const Variable* m_variable; member in rsg::CompareEntryVariable
H A DrsgVariableManager.hpp49 const Variable* getVariable (void) const { return m_variable; } in getVariable()
55 const Variable* m_variable; member in rsg::ValueEntry
H A DrsgShader.cpp59 : m_variable (variable) in ShaderInput()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderBuiltinTests.cpp1471 , m_variable (variable) in LocalInvocationCase()
1480 const LocalInvocation m_variable; member in vkt::MeshShader::__anon28089::LocalInvocationCase
1486 const std::string localIndex = ((m_variable == LocalInvocation::ID) ? "gl_LocalInvocationID.x" : "gl_LocalInvocationIndex"); in initPrograms()
H A DvktMeshShaderBuiltinTestsEXT.cpp1618 , m_variable (variable) in LocalInvocationCase()
1627 const LocalInvocation m_variable; member in vkt::MeshShader::__anon28090::LocalInvocationCase
1635 const std::string localIndex = ((m_variable == LocalInvocation::ID) ? "gl_LocalInvocationID.x" : "gl_LocalInvocationIndex"); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderBuiltinTests.cpp1471 , m_variable (variable) in LocalInvocationCase()
1480 const LocalInvocation m_variable; member in vkt::MeshShader::__anon29320::LocalInvocationCase
1486 const std::string localIndex = ((m_variable == LocalInvocation::ID) ? "gl_LocalInvocationID.x" : "gl_LocalInvocationIndex"); in initPrograms()
H A DvktMeshShaderBuiltinTestsEXT.cpp1618 , m_variable (variable) in LocalInvocationCase()
1627 const LocalInvocation m_variable; member in vkt::MeshShader::__anon29321::LocalInvocationCase
1635 const std::string localIndex = ((m_variable == LocalInvocation::ID) ? "gl_LocalInvocationID.x" : "gl_LocalInvocationIndex"); in initPrograms()
/third_party/vk-gl-cts/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp743 : m_variable (variable) in VariableStatement()
751 os << glu::declare(getVarTypeOf<T>(), m_variable->getName()); in doPrint()
753 os << m_variable->getName(); in doPrint()
761 ctx.env.bind(*m_variable, m_value->evaluate(ctx)); in doExecute()
763 ctx.env.lookup(*m_variable) = m_value->evaluate(ctx); in doExecute()
771 VariableP<T> m_variable; member in deqp::gls::BuiltinPrecisionTests::VariableStatement
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp1232 : m_variable (variable) in VariableStatement()
1240 os << glu::declare(getVarTypeOf<T>(), m_variable->getName()); in doPrint()
1242 os << m_variable->getName(); in doPrint()
1251 ctx.env.bind(*m_variable, m_value->evaluate(ctx)); in doExecute()
1253 ctx.env.lookup(*m_variable) = m_value->evaluate(ctx); in doExecute()
1264 ctx.env.bind(*m_variable, m_value->fails(ctx)); in doFail()
1266 ctx.env.lookup(*m_variable) = m_value->fails(ctx); in doFail()
1269 VariableP<T> m_variable; member in vkt::shaderexecutor::VariableStatement
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp1233 : m_variable (variable) in VariableStatement()
1241 os << glu::declare(getVarTypeOf<T>(), m_variable->getName()); in doPrint()
1243 os << m_variable->getName(); in doPrint()
1252 ctx.env.bind(*m_variable, m_value->evaluate(ctx)); in doExecute()
1254 ctx.env.lookup(*m_variable) = m_value->evaluate(ctx); in doExecute()
1265 ctx.env.bind(*m_variable, m_value->fails(ctx)); in doFail()
1267 ctx.env.lookup(*m_variable) = m_value->fails(ctx); in doFail()
1270 VariableP<T> m_variable; member in vkt::shaderexecutor::VariableStatement

Completed in 55 milliseconds